10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-07-31 17:44:12 +02:00
QCaml/Utils/Charge.mli

19 lines
377 B
OCaml
Raw Normal View History

2018-03-03 21:33:32 +01:00
(** This type should be used for all charges in the program (electrons, nuclei,...). *)
2018-02-20 23:54:48 +01:00
type t = private float
2018-01-02 22:02:01 +01:00
val to_float : t -> float
val of_float : float -> t
val to_int : t -> int
val of_int : int -> t
val to_string: t -> string
val of_string: string -> t
2018-03-03 22:13:14 +01:00
val ( + ) : t -> t -> t
val ( - ) : t -> t -> t
val ( * ) : t -> float -> t
val ( / ) : t -> float -> t