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 -> ( dns, num, flt, p64 ) typ
| TYP_C : Stdlib.Complex.t -> ( dns, num, cpx, p64 ) typ
| TYP_DMS : dms -> ( dns, mat, flt, p32 ) typ
| TYP_DMD : dmd -> ( dns, mat, flt, p64 ) typ
| TYP_DMC : dmc -> ( dns, mat, cpx, p32 ) typ
| TYP_DMZ : dmz -> ( dns, mat, cpx, p64 ) typ
| TYP_DAS : das -> ( dns, arr, flt, p32 ) typ
| TYP_DAD : dad -> ( dns, arr, flt, p64 ) typ
| TYP_DAC : dac -> ( dns, arr, cpx, p32 ) typ
| TYP_DAZ : daz -> ( dns, arr, cpx, p64 ) typ
| TYP_SMS : sms -> ( sps, mat, flt, p32 ) typ
| TYP_SMD : smd -> ( sps, mat, flt, p64 ) typ
| TYP_SMC : sms -> ( sps, mat, cpx, p32 ) typ
| TYP_SMZ : smd -> ( sps, mat, cpx, p64 ) typ
| TYP_SAS : sas -> ( sps, arr, flt, p32 ) typ
| TYP_SAD : sad -> ( sps, arr, flt, p64 ) typ
| TYP_SAC : sac -> ( sps, arr, cpx, p32 ) typ
| TYP_SAZ : saz -> ( sps, arr, cpx, p64 ) typ
type ('a, 'b) elt =
| Flt32 : ( flt, p32 ) elt
| Flt64 : ( flt, p64 ) elt
| Cpx32 : ( cpx, p32 ) elt
| Cpx64 : ( cpx, p64 ) elt
type ('a, 'b) box =
| DM : ( dns, mat ) box
| DA : ( dns, mat ) box
| SM : ( sps, arr ) box
| SA : ( sps, arr ) 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