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