package owl
Owl - OCaml Scientific and Engineering Computing
Install
Dune Dependency
Authors
Maintainers
Sources
owl-0.4.0.tbz
sha256=098c648b481469761f46854c9825d52c1afdd273307658489af9c3df4ab7624b
md5=164fbec1c8025895eea703b125dd35f3
doc/owl/Owl_sparse_ndarray_c/index.html
Module Owl_sparse_ndarray_c
type elt = Complex.t
type arr = (Complex.t, Bigarray.complex32_elt) Owl_sparse_ndarray_generic.t
Create sparse ndarray
val zeros : int array -> arr
val binary : ?density:float -> int array -> arr
val uniform : ?scale:float -> ?density:float -> int array -> arr
Obtain basic properties
val shape : arr -> int array
val num_dims : arr -> int
val nth_dim : arr -> int -> int
val numel : arr -> int
val nnz : arr -> int
val density : arr -> float
val kind : arr -> (elt, Bigarray.complex32_elt) Bigarray.kind
Manipulate a N-dimensional array
Iterate array elements
Examine array elements or compare two arrays
val is_zero : arr -> bool
val is_positive : arr -> bool
val is_negative : arr -> bool
val is_nonpositive : arr -> bool
val is_nonnegative : arr -> bool
Input/Output and helper functions
val print : arr -> unit
val save : arr -> string -> unit
val load : string -> arr
Unary mathematical operations
Binary mathematical operations
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page