package owl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
OCaml Scientific and Engineering Computing
Install
dune-project
Dependency
Authors
Maintainers
Sources
owl-0.7.0.tbz
sha256=cb9b596d7a2166630e385381f5dcb7cc6c2a4afebd32b2811db3e4b4fe008f3c
sha512=940c0953ee3fce453787e0820df42f4f3852413ba0a1af9d18af128d90a76bf9c93aaa3af42bd80be938b0b53ed0f546a1972ecc5fad7dd35247cea5e699b78f
doc/owl/Owl_sparse_ndarray_generic/index.html
Module Owl_sparse_ndarray_generic
Sparse N-dimensional array module
Type definition
type ('a, 'b) kind = ('a, 'b) Bigarray.kindType of ``kind``.
Create sparse ndarray
Obtain basic properties
val shape : ('a, 'b) t -> int arrayTODO
val num_dims : ('a, 'b) t -> intTODO
val nth_dim : ('a, 'b) t -> int -> intTODO
val numel : ('a, 'b) t -> intTODO
val nnz : ('a, 'b) t -> intTODO
val density : ('a, 'b) t -> floatTODO
Manipulate a N-dimensional array
val get : ('a, 'b) t -> int array -> 'aTODO
val set : ('a, 'b) t -> int array -> 'a -> unitTODO
Iterate array elements
val iteri :
?axis:int option array ->
(int array -> 'a -> unit) ->
('a, 'b) t ->
unitTODO
val iter : ?axis:int option array -> ('a -> unit) -> ('a, 'b) t -> unitTODO
val filteri :
?axis:int option array ->
(int array -> 'a -> bool) ->
('a, 'b) t ->
int array arrayTODO
val filter :
?axis:int option array ->
('a -> bool) ->
('a, 'b) t ->
int array arrayTODO
val foldi :
?axis:int option array ->
(int array -> 'c -> 'a -> 'c) ->
'c ->
('a, 'b) t ->
'cTODO
val fold : ?axis:int option array -> ('c -> 'a -> 'c) -> 'c -> ('a, 'b) t -> 'cTODO
val iteri_nz :
?axis:int option array ->
(int array -> 'a -> unit) ->
('a, 'b) t ->
unitTODO
val iter_nz : ?axis:int option array -> ('a -> unit) -> ('a, 'b) t -> unitTODO
val filteri_nz :
?axis:int option array ->
(int array -> 'a -> bool) ->
('a, 'b) t ->
int array arrayTODO
val filter_nz :
?axis:int option array ->
('a -> bool) ->
('a, 'b) t ->
int array arrayTODO
val foldi_nz :
?axis:int option array ->
(int array -> 'c -> 'a -> 'c) ->
'c ->
('a, 'b) t ->
'cTODO
val fold_nz :
?axis:int option array ->
('c -> 'a -> 'c) ->
'c ->
('a, 'b) t ->
'cTODO
Examine array elements or compare two arrays
val exists : ('a -> bool) -> ('a, 'b) t -> boolTODO
val not_exists : ('a -> bool) -> ('a, 'b) t -> boolTODO
val for_all : ('a -> bool) -> ('a, 'b) t -> boolTODO
val is_zero : ('a, 'b) t -> boolTODO
val is_positive : ('a, 'b) t -> boolTODO
val is_negative : ('a, 'b) t -> boolTODO
val is_nonpositive : ('a, 'b) t -> boolTODO
val is_nonnegative : ('a, 'b) t -> boolTODO
Input/Output and helper functions
val to_array : ('a, 'b) t -> (int array * 'a) arrayTODO
val print : ('a, 'b) t -> unitTODO
val pp_spnda : ('a, 'b) t -> unitTODO
val save : ('a, 'b) t -> string -> unitTODO
Unary mathematical operations
val min : ('a, 'b) t -> 'aTODO
val max : ('a, 'b) t -> 'aTODO
val minmax : ('a, 'b) t -> 'a * 'aTODO
val sum : ('a, 'b) t -> 'aTODO
val mean : ('a, 'b) t -> 'aTODO
Binary mathematical operations
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page