package owl
OCaml Scientific and Engineering Computing
Install
Dune Dependency
Authors
Maintainers
Sources
owl-1.0.1.tbz
sha256=72ca9f6edd302fdfa16c7559cedac7ac2c885466a367e17ea1ea8807b2dd13ef
sha512=72a60fb5b0ee4eea6cd8012aab9a492a32483feb218c1b6b4b913e0af985fba288113164e5af1129c0b5fffdb49d7b9aded6647238626b6561dc7125fdeb4eb5
doc/owl/Owl_sparse_dok_matrix/index.html
Module Owl_sparse_dok_matrix
type ('a, 'b) kind = ('a, 'b) Bigarray.kind
Create sparse matrices
Obtain the basic properties
val shape : ('a, 'b) t -> int * int
val row_num : ('a, 'b) t -> int
val col_num : ('a, 'b) t -> int
val numel : ('a, 'b) t -> int
val nnz : ('a, 'b) t -> int
val density : ('a, 'b) t -> float
Manipulate a matrix
val set : ('a, 'b) t -> int -> int -> 'a -> unit
val get : ('a, 'b) t -> int -> int -> 'a
val reset : ('a, 'b) t -> unit
Iterate elements, columns, and rows
val iteri_nz : (int -> int -> 'a -> unit) -> ('a, 'b) t -> unit
Input/Output and helper functions
val save : ('a, 'b) t -> string -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page