package owl
OCaml Scientific and Engineering Computing
Install
Dune Dependency
Authors
Maintainers
Sources
owl-1.0.2.tbz
sha256=38d210ce6c1c2f09631fd59951430e4f364b5ae036c71ed1b32ce559b2a29263
sha512=c468100556445384b9c6adad9c37b5a9b8c27db8be35f61979e65fafa88c60221b8bda0a9c06cfbbc8d4e216a1ed08a315dfefb45bb4f5f15aa82d4358f57567
doc/owl/Owl_sparse_ndarray_d/index.html
Module Owl_sparse_ndarray_d
type arr = (float, Bigarray.float64_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.float64_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