Module Owl_ext_types

type flt =
| Flt
type cpx =
| Cpx
type mat =
| Mat
type vec =
| Vec
type arr =
| Arr
type num =
| Num
type p32 =
| P32
type p64 =
| P64
type dns =
| Dns
type sps =
| Sps
type dms = (float, Stdlib.Bigarray.float32_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type dmd = (float, Stdlib.Bigarray.float64_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type dmc = (Stdlib.Complex.t, Stdlib.Bigarray.complex32_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type dmz = (Stdlib.Complex.t, Stdlib.Bigarray.complex64_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type das = (float, Stdlib.Bigarray.float32_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type dad = (float, Stdlib.Bigarray.float64_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type dac = (Stdlib.Complex.t, Stdlib.Bigarray.complex32_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type daz = (Stdlib.Complex.t, Stdlib.Bigarray.complex64_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Genarray.t
type sms = (float, Stdlib.Bigarray.float32_elt) Owl_sparse_matrix_generic.t
type smd = (float, Stdlib.Bigarray.float64_elt) Owl_sparse_matrix_generic.t
type smc = (Stdlib.Complex.t, Stdlib.Bigarray.complex32_elt) Owl_sparse_matrix_generic.t
type smz = (Stdlib.Complex.t, Stdlib.Bigarray.complex64_elt) Owl_sparse_matrix_generic.t
type sas = (float, Stdlib.Bigarray.float32_elt) Owl_sparse_ndarray_generic.t
type sad = (float, Stdlib.Bigarray.float64_elt) Owl_sparse_ndarray_generic.t
type sac = (Stdlib.Complex.t, Stdlib.Bigarray.complex32_elt) Owl_sparse_ndarray_generic.t
type saz = (Stdlib.Complex.t, Stdlib.Bigarray.complex64_elt) Owl_sparse_ndarray_generic.t
type ('a, 'b, 'c, 'd) typ =
| TYP_F : float -> (dnsnumfltp64) typ
| TYP_C : Stdlib.Complex.t -> (dnsnumcpxp64) typ
| TYP_DMS : dms -> (dnsmatfltp32) typ
| TYP_DMD : dmd -> (dnsmatfltp64) typ
| TYP_DMC : dmc -> (dnsmatcpxp32) typ
| TYP_DMZ : dmz -> (dnsmatcpxp64) typ
| TYP_DAS : das -> (dnsarrfltp32) typ
| TYP_DAD : dad -> (dnsarrfltp64) typ
| TYP_DAC : dac -> (dnsarrcpxp32) typ
| TYP_DAZ : daz -> (dnsarrcpxp64) typ
| TYP_SMS : sms -> (spsmatfltp32) typ
| TYP_SMD : smd -> (spsmatfltp64) typ
| TYP_SMC : sms -> (spsmatcpxp32) typ
| TYP_SMZ : smd -> (spsmatcpxp64) typ
| TYP_SAS : sas -> (spsarrfltp32) typ
| TYP_SAD : sad -> (spsarrfltp64) typ
| TYP_SAC : sac -> (spsarrcpxp32) typ
| TYP_SAZ : saz -> (spsarrcpxp64) typ
type ('a, 'b) elt =
| Flt32 : (fltp32) elt
| Flt64 : (fltp64) elt
| Cpx32 : (cpxp32) elt
| Cpx64 : (cpxp64) elt
type ('a, 'b) box =
| DM : (dnsmat) box
| DA : (dnsmat) box
| SM : (spsarr) box
| SA : (spsarr) box
type ext_typ =
| F of float
| C of Stdlib.Complex.t
| DMS of dms
| DMD of dmd
| DMC of dmc
| DMZ of dmz
| DAS of das
| DAD of dad
| DAC of dac
| DAZ of daz
| SMS of sms
| SMD of smd
| SMC of sms
| SMZ of smd
| SAS of sas
| SAD of sad
| SAC of sac
| SAZ of saz
val type_info : ext_typ -> string
val pack_flt : float -> ext_typ
val unpack_flt : ext_typ -> float
val pack_cpx : Stdlib.Complex.t -> ext_typ
val unpack_cpx : ext_typ -> Stdlib.Complex.t
val pack_das : das -> ext_typ
val unpack_das : ext_typ -> das
val pack_dad : dad -> ext_typ
val unpack_dad : ext_typ -> dad
val pack_dac : dac -> ext_typ
val unpack_dac : ext_typ -> dac
val pack_daz : daz -> ext_typ
val unpack_daz : ext_typ -> daz
val pack_dms : dms -> ext_typ
val unpack_dms : ext_typ -> dms
val pack_dmd : dmd -> ext_typ
val unpack_dmd : ext_typ -> dmd
val pack_dmc : dmc -> ext_typ
val unpack_dmc : ext_typ -> dmc
val pack_dmz : dmz -> ext_typ
val unpack_dmz : ext_typ -> dmz