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
|
|
|
|
|