package owl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml Scientific and Engineering Computing
Install
dune-project
Dependency
Authors
Maintainers
Sources
owl-1.0.2.tbz
sha256=38d210ce6c1c2f09631fd59951430e4f364b5ae036c71ed1b32ce559b2a29263
sha512=c468100556445384b9c6adad9c37b5a9b8c27db8be35f61979e65fafa88c60221b8bda0a9c06cfbbc8d4e216a1ed08a315dfefb45bb4f5f15aa82d4358f57567
doc/owl/Owl_dense_matrix_s/index.html
Module Owl_dense_matrix_s
type mat = (float, Bigarray.float32_elt) Owl_dense_matrix_generic.tinclude Owl_dense_matrix_intf.Common with type elt := elt and type mat := mat
Create dense matrices
val empty : int -> int -> matval zeros : int -> int -> matval ones : int -> int -> matval eye : int -> matval bernoulli : ?p:float -> int -> int -> matval unit_basis : int -> int -> matval hadamard : int -> matval magic : int -> matDense row vectors and meshgrids
val vector : int -> matval vector_zeros : int -> matval vector_ones : int -> matval vector_uniform : int -> matObtain the basic properties of a matrix
val shape : mat -> int * intval row_num : mat -> intval col_num : mat -> intval numel : mat -> intval nnz : mat -> intval density : mat -> floatval size_in_bytes : mat -> intManipulate a matrix
val get_fancy : Owl_types.index list -> mat -> matval set_fancy : Owl_types.index list -> mat -> mat -> unitval reset : mat -> unitval swap_rows : mat -> int -> int -> unitval swap_cols : mat -> int -> int -> unitval top : mat -> int -> int array arrayval bottom : mat -> int -> int array arrayval argsort :
mat ->
(int64, Bigarray.int64_elt, Bigarray.c_layout) Bigarray.Genarray.tIterate elements, columns, and rows.
Examine elements and compare two matrices
val is_zero : mat -> boolval is_positive : mat -> boolval is_negative : mat -> boolval is_nonpositive : mat -> boolval is_nonnegative : mat -> boolval is_normal : mat -> boolval not_nan : mat -> boolval not_inf : mat -> boolRandomisation functions
Input/Output and helper functions
val save : out:string -> mat -> unitval load : string -> matval save_txt : ?sep:string -> ?append:bool -> out:string -> mat -> unitval load_txt : ?sep:string -> string -> matval save_npy : out:string -> mat -> unitval load_npy : string -> matUnary mathematical operations
Binary mathematical operations
Functions of in-place modification
val bernoulli_ : ?p:float -> out:mat -> unitval zeros_ : out:mat -> unitval ones_ : out:mat -> unitval sort_ : mat -> unitinclude Owl_dense_matrix_intf.Real with type elt := elt and type mat := mat
Specific real functions
val semidef : int -> matval max_pool :
?padding:Owl_types.padding ->
mat ->
int array ->
int array ->
matval avg_pool :
?padding:Owl_types.padding ->
mat ->
int array ->
int array ->
mat sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>