package owl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Owl - An OCaml Numerical Library
Install
dune-project
Dependency
Authors
Maintainers
Sources
owl-base-0.3.7.tbz
sha256=28d6c909f8f91cd8fd61fd1079b2f0e4bf8917bf33e2da96607caf63c73d0a39
md5=16454681ed82d527edf25eaee668c88a
doc/owl/Owl_sparse_matrix/D/index.html
Module Owl_sparse_matrix.D
include module type of struct include Owl_sparse_matrix_d end
type mat = (float, Bigarray.float64_elt) Owl_sparse_matrix_generic.tCreate sparse matrices
val zeros : int -> int -> matval ones : int -> int -> matval eye : int -> matval binary : int -> int -> matval uniform : ?scale:float -> int -> int -> matval uniform_int : ?a:int -> ?b:int -> int -> int -> matval sequential : int -> int -> matObtain the basic properties of a matrix
val shape : mat -> int * intval row_num : mat -> intval col_num : mat -> intval row_num_nz : mat -> intval col_num_nz : mat -> intval numel : mat -> intval nnz : mat -> intval nnz_rows : mat -> int arrayval nnz_cols : mat -> int arrayval density : mat -> floatManipulate a matrix
val reset : mat -> unitIterate elements, columns, and rows
Examin elements and compare two matrices
val is_zero : mat -> boolval is_positive : mat -> boolval is_negative : mat -> boolval is_nonnegative : mat -> boolRandomisation functions
val permutation_matrix : int -> matInput/Output and helper functions
val to_dense : mat -> Owl_dense.Matrix.D.matval of_dense : Owl_dense.Matrix.D.mat -> matval print : mat -> unitval save : mat -> string -> unitval load : string -> matUnary mathematical operations
Binary mathematical operations
include module type of struct include Operator end
include sig ... end
val (+) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval (-) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval (*) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval (/) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval (+$) :
('a, 'b) Owl_sparse_matrix_generic.t ->
'a ->
('a, 'b) Owl_sparse_matrix_generic.tval (-$) :
('a, 'b) Owl_sparse_matrix_generic.t ->
'a ->
('a, 'b) Owl_sparse_matrix_generic.tval (*$) :
('a, 'b) Owl_sparse_matrix_generic.t ->
'a ->
('a, 'b) Owl_sparse_matrix_generic.tval (/$) :
('a, 'b) Owl_sparse_matrix_generic.t ->
'a ->
('a, 'b) Owl_sparse_matrix_generic.tval ($+) :
'a ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval ($-) :
'a ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval ($*) :
'a ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval ($/) :
'a ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval (=) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
boolval (!=) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
boolval (<>) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
boolval (>) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
boolval (<) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
boolval (>=) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
boolval (<=) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
boolinclude sig ... end
val (*@) :
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.t ->
('a, 'b) Owl_sparse_matrix_generic.tval (.%{}) : ('a, 'b) Owl_sparse_matrix_generic.t -> int array -> 'aval (.%{}<-) : ('a, 'b) Owl_sparse_matrix_generic.t -> int array -> 'a -> unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>