Owl_base_dense_ndarray.Generic
include module type of struct include Owl_base_dense_ndarray_generic end
About the comparison of two complex numbers x
and y
, Owl uses the following conventions: 1) x
and y
are equal iff both real and imaginary parts are equal; 2) x
is less than y
if the magnitude of x
is less than the magnitude of x
; in case both x
and y
have the same magnitudes, x
is less than x
if the phase of x
is less than the phase of y
; 3) less or equal, greater, greater or equal relation can be further defined atop of the aforementioned conventions.
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val shape : ('a, 'b) t -> int array
Refer to :doc:`owl_dense_ndarray_generic`
val num_dims : ('a, 'b) t -> int
Refer to :doc:`owl_dense_ndarray_generic`
val nth_dim : ('a, 'b) t -> int -> int
Refer to :doc:`owl_dense_ndarray_generic`
val numel : ('a, 'b) t -> int
Refer to :doc:`owl_dense_ndarray_generic`
val strides : ('a, 'b) t -> int array
Refer to :doc:`owl_dense_ndarray_generic`
val slice_size : ('a, 'b) t -> int array
Refer to :doc:`owl_dense_ndarray_generic`
val get : ('a, 'b) t -> int array -> 'a
Refer to :doc:`owl_dense_ndarray_generic`
val set : ('a, 'b) t -> int array -> 'a -> unit
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val get_fancy : Owl_types.index list -> ('a, 'b) t -> ('a, 'b) t
Refer to :doc:`owl_dense_ndarray_generic`
val set_fancy : Owl_types.index list -> ('a, 'b) t -> ('a, 'b) t -> unit
Refer to :doc:`owl_dense_ndarray_generic`
val reset : ('a, 'b) t -> unit
Refer to :doc:`owl_dense_ndarray_generic`
val fill : ('a, 'b) t -> 'a -> unit
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val iteri : (int -> 'a -> unit) -> ('a, 'b) t -> unit
Refer to :doc:`owl_dense_ndarray_generic`
val iter : ('a -> unit) -> ('a, 'b) t -> unit
Refer to :doc:`owl_dense_ndarray_generic`
val filteri : (int -> 'a -> bool) -> ('a, 'b) t -> int array
Refer to :doc:`owl_dense_ndarray_generic`
val filter : ('a -> bool) -> ('a, 'b) t -> int array
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val exists : ('a -> bool) -> ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val not_exists : ('a -> bool) -> ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val for_all : ('a -> bool) -> ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val is_zero : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val is_positive : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val is_negative : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val is_nonpositive : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val is_nonnegative : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val is_normal : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val not_nan : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val not_inf : ('a, 'b) t -> bool
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val equal_scalar : ('a, 'b) t -> 'a -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val not_equal_scalar : ('a, 'b) t -> 'a -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val less_scalar : ('a, 'b) t -> 'a -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val greater_scalar : ('a, 'b) t -> 'a -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val less_equal_scalar : ('a, 'b) t -> 'a -> bool
Refer to :doc:`owl_dense_ndarray_generic`
val greater_equal_scalar : ('a, 'b) t -> 'a -> bool
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val approx_equal_scalar : ?eps:float -> (float, 'b) t -> float -> bool
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val print :
?max_row:int ->
?max_col:int ->
?header:bool ->
?fmt:('a -> string) ->
('a, 'b) t ->
unit
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val sum' : ('a, 'b) t -> 'a
Refer to :doc:`owl_dense_ndarray_generic`
val log_sum_exp' : ('a, 'b) t -> 'a
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val min' : ('a, 'b) t -> 'a
Refer to :doc:`owl_dense_ndarray_generic`
val max' : ('a, 'b) t -> 'a
Refer to :doc:`owl_dense_ndarray_generic`
val l1norm' : (float, 'b) t -> float
Refer to :doc:`owl_dense_ndarray_generic`
val l2norm' : (float, 'b) t -> float
Refer to :doc:`owl_dense_ndarray_generic`
val l2norm_sqr' : (float, 'b) t -> float
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val conv1d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val conv2d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val conv3d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv1d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv2d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv3d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv1d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv2d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv3d :
?padding:Owl_types.padding ->
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val max_pool1d :
?padding:Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val max_pool2d :
?padding:Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val max_pool3d :
?padding:Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val avg_pool1d :
?padding:Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val avg_pool2d :
?padding:Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val avg_pool3d :
?padding:Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val conv1d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val conv1d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val conv2d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val conv2d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val conv3d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val conv3d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv1d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv1d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv2d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv2d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv3d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val dilated_conv3d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv1d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv1d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv2d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv2d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv3d_backward_input :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val transpose_conv3d_backward_kernel :
(float, 'a) t ->
(float, 'a) t ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val max_pool1d_backward :
Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val max_pool2d_backward :
Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val max_pool3d_backward :
Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val avg_pool1d_backward :
Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val avg_pool2d_backward :
Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
val avg_pool3d_backward :
Owl_types.padding ->
(float, 'a) t ->
int array ->
int array ->
(float, 'a) t ->
(float, 'a) t
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
Refer to :doc:`owl_dense_ndarray_generic`
val row_num : ('a, 'b) t -> int
Refer to :doc:`owl_dense_matrix_generic`
val col_num : ('a, 'b) t -> int
Refer to :doc:`owl_dense_matrix_generic`
val trace : (float, 'b) t -> float
Refer to :doc:`owl_dense_matrix_generic`
Refer to :doc:`owl_dense_matrix_generic`
Refer to :doc:`owl_dense_matrix_generic`
val draw_rows2 :
?replacement:bool ->
('a, 'b) t ->
('a, 'b) t ->
int ->
('a, 'b) t * ('a, 'b) t * int array
Refer to :doc:`owl_dense_matrix_generic`
Identity function to deal with the type conversion required by other functors.
include module type of struct include Operator end
include sig ... end
val (+) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (-) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (*) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (/) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (+$) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (-$) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (*$) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (/$) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val ($+) :
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val ($-) :
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val ($*) :
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val ($/) :
'a ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t
val (=) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
bool
val (!=) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
bool
val (<>) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
bool
val (>) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
bool
val (<) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
bool
val (>=) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
bool
val (<=) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
('a, 'b) Owl_base_dense_ndarray_generic.t ->
bool
include sig ... end
val (.%{}) : ('a, 'b) Owl_base_dense_ndarray_generic.t -> int -> 'a
val (.%{;..}) : ('a, 'b) Owl_base_dense_ndarray_generic.t -> int array -> 'a
val (.%{}<-) : ('a, 'b) Owl_base_dense_ndarray_generic.t -> int -> 'a -> unit
val (.%{;..}<-) :
('a, 'b) Owl_base_dense_ndarray_generic.t ->
int array ->
'a ->
unit