package owl
OCaml Scientific and Engineering Computing
Install
dune-project
Dependency
Authors
Maintainers
Sources
owl-1.0.1.tbz
sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef
sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5
doc/owl/Owl_sparse_ndarray_s/index.html
Module Owl_sparse_ndarray_s
type arr = (float, Bigarray.float32_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.float32_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