10
1
mirror of https://gitlab.com/scemama/QCaml.git synced 2024-11-07 22:53:41 +01:00
QCaml/Utils/Coordinate.mli

19 lines
496 B
OCaml
Raw Normal View History

2018-01-17 18:19:38 +01:00
type t
val zero : t
2018-01-18 14:56:08 +01:00
val of_float_triplet : float * float * float -> [< `Angstrom | `Bohr ] -> t
val of_3_floats : float -> float -> float -> [< `Angstrom | `Bohr ] -> t
2018-01-17 18:19:38 +01:00
val to_string : t -> string
val x : t -> float
val y : t -> float
val z : t -> float
val coord : t -> int -> float
val to_float_array : t -> float array
val (|-) : t -> t -> t
val (|+) : t -> t -> t
val (|.) : float -> t -> t
val dot : t -> t -> float
2018-01-18 17:39:10 +01:00
val to_Angstrom : t -> t
val to_Bohr : t -> t
2018-01-17 18:19:38 +01:00
val norm : t -> float