qmcchem/ocaml/Sample.mli

11 lines
324 B
OCaml
Raw Normal View History

2019-07-22 11:31:16 +02:00
type t [@@deriving sexp]
2015-12-19 02:35:13 +01:00
val to_float : ?idx:int -> t -> float
val to_float_array : t -> float array
val of_float : float -> t
2022-01-06 17:43:31 +01:00
val of_float_array : dim:int -> float array -> t
2015-12-19 02:35:13 +01:00
val to_string : t -> string
2022-01-06 17:43:31 +01:00
val to_bytes : t -> bytes
2022-01-11 13:41:13 +01:00
val of_bytes : bytes -> t
2015-12-19 02:35:13 +01:00
val dimension : t -> int