10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-12-22 04:13:33 +01:00
QCaml/Utils/Constants.mli

37 lines
748 B
OCaml

(** All constants used in the program.
*)
(** {2 Thresholds } *)
val epsilon : float
(** Value below which a float is considered null. Default is {% $\epsilon$ %} = 10{^-20}. *)
val integrals_cutoff : float
(** Cutoff value for integrals. Default is 10{^-15}. *)
(** {2 Mathematical constants } *)
val pi : float
(** {% $\pi$ %} = 3.141_592_653_589_793_12 *)
val sq_pi : float
(** {% $\sqrt{\pi}$ %} *)
val sq_pi_over_two : float
(** {% $\frac{\sqrt{\pi}}{2}$ %} *)
val pi_inv : float
(** {% $\frac{1}{\pi}$ %} *)
val two_over_sq_pi : float
(** {% $\frac{2}{\sqrt{\pi}}$ %} *)
(** {2 Physical constants} *)
val a0 : float
(** Bohr radius : {% $a_0$ %} = 0.529_177_210_671_2 Angstrom *)
val a0_inv : float
(** {% $\frac{1}{a_0}$ %} *)