package hdf5

  1. Overview
  2. Docs
Manages HDF5 files used for storing large amounts of data

Install

Dune Dependency

Authors

Maintainers

Sources

v0.1.5.tar.gz
md5=5e42f0b3f28a7ed8ba84998ee30ff8e7
sha512=17eea72e38f70f92a3b01cd10e0cae8839d8d214b5fa6507f9d435530afe17c88fbdd349157a12eead205e1cf66225d6282199404a3c26841366a57f5c69ff23

doc/hdf5.caml/Hdf5_caml/H5/Float32/index.html

Module H5.Float32

val write_float_array : H5.t -> string -> ?deflate:int -> float array -> unit

Writes the given float array to the data set.

val read_float_array : H5.t -> ?data:float array -> string -> float array

Reads the data set into a float array.

  • parameter data

    If provided, the storage for the data.

val write_float_genarray : H5.t -> string -> ?deflate:int -> (float, Bigarray.float32_elt, _) Bigarray.Genarray.t -> unit
val read_float_genarray : H5.t -> ?data:(float, Bigarray.float32_elt, 'a) Bigarray.Genarray.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float32_elt, 'a) Bigarray.Genarray.t

Reads the data set into a float Genarray.t.

  • parameter data

    If provided, the storage for the data.

val write_float_array1 : H5.t -> string -> ?deflate:int -> (float, Bigarray.float32_elt, _) Bigarray.Array1.t -> unit

Writes the given float Array1.t to the data set.

val read_float_array1 : H5.t -> ?data:(float, Bigarray.float32_elt, 'a) Bigarray.Array1.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float32_elt, 'a) Bigarray.Array1.t

Reads the data set into a float Array1.t.

  • parameter data

    If provided, the storage for the data.

val write_float_array2 : H5.t -> string -> ?deflate:int -> (float, Bigarray.float32_elt, _) Bigarray.Array2.t -> unit

Writes the given float Array1.t to the data set.

val read_float_array2 : H5.t -> ?data:(float, Bigarray.float32_elt, 'a) Bigarray.Array2.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float32_elt, 'a) Bigarray.Array2.t

Reads the data set into a float Array2.t.

  • parameter data

    If provided, the storage for the data.

val write_float_array3 : H5.t -> string -> ?deflate:int -> (float, Bigarray.float32_elt, _) Bigarray.Array3.t -> unit

Writes the given float Array1.t to the data set.

val read_float_array3 : H5.t -> ?data:(float, Bigarray.float32_elt, 'a) Bigarray.Array3.t -> string -> 'a Bigarray.layout -> (float, Bigarray.float32_elt, 'a) Bigarray.Array3.t

Reads the data set into a float Array3.t.

  • parameter data

    If provided, the storage for the data.

val write_attribute_float : H5.t -> string -> float -> unit

write_attribute_float t name v writes the given float as an attribute with the given name.

val read_attribute_float : H5.t -> string -> float

read_attribute_float t name reads the attribute with the given name as a float.

val write_attribute_float_array : H5.t -> string -> float array -> unit

Writes the given float as an attribute with the given name.

val read_attribute_float_array : H5.t -> string -> float array

Reads the attribute with the given name as a float.

OCaml

Innovation. Community. Security.