package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val empty : int -> int -> P.mat
val create : int -> int -> P.elt -> P.mat
val zeros : int -> int -> P.mat
val ones : int -> int -> P.mat
val eye : int -> P.mat
val sequential : ?a:P.elt -> ?step:P.elt -> int -> int -> P.mat
val uniform : ?a:P.elt -> ?b:P.elt -> int -> int -> P.mat
val gaussian : ?mu:P.elt -> ?sigma:P.elt -> int -> int -> P.mat
val linspace : P.elt -> P.elt -> int -> P.mat
val meshgrid : P.elt -> P.elt -> P.elt -> P.elt -> int -> int -> P.mat * P.mat
val meshup : P.mat -> P.mat -> P.mat * P.mat
val shape : P.mat -> int * int
val row_num : P.mat -> int
val col_num : P.mat -> int
val numel : P.mat -> int
val nnz : P.mat -> int
val density : P.mat -> float
val size_in_bytes : P.mat -> int
val same_shape : P.mat -> P.mat -> bool
val get : P.mat -> int -> int -> P.elt
val set : P.mat -> int -> int -> P.elt -> unit
val get_fancy : Owl_types.index list -> P.mat -> P.mat
val set_fancy : Owl_types.index list -> P.mat -> P.mat -> unit
val row : P.mat -> int -> P.mat
val col : P.mat -> int -> P.mat
val rows : P.mat -> int array -> P.mat
val cols : P.mat -> int array -> P.mat
val reshape : P.mat -> int array -> P.mat
val flatten : P.mat -> P.mat
val reverse : P.mat -> P.mat
val reset : P.mat -> unit
val fill : P.mat -> P.elt -> unit
val copy : P.mat -> P.mat
val copy_ : out:P.mat -> P.mat -> unit
val copy_row_to : P.mat -> P.mat -> int -> unit
val copy_col_to : P.mat -> P.mat -> int -> unit
val concat_vertical : P.mat -> P.mat -> P.mat
val concat_horizontal : P.mat -> P.mat -> P.mat
val transpose : P.mat -> P.mat
val diag : ?k:int -> P.mat -> P.mat
val swap_rows : P.mat -> int -> int -> unit
val swap_cols : P.mat -> int -> int -> unit
val tile : P.mat -> int array -> P.mat
val repeat : P.mat -> int array -> P.mat
val iteri : (int -> P.elt -> unit) -> P.mat -> unit
val iter : (P.elt -> unit) -> P.mat -> unit
val mapi : (int -> P.elt -> P.elt) -> P.mat -> P.mat
val map : (P.elt -> P.elt) -> P.mat -> P.mat
val map2i : (int -> P.elt -> P.elt -> P.elt) -> P.mat -> P.mat -> P.mat
val map2 : (P.elt -> P.elt -> P.elt) -> P.mat -> P.mat -> P.mat
val foldi : ?axis:int -> (int -> P.elt -> P.elt -> P.elt) -> P.elt -> P.mat -> P.mat
val fold : ?axis:int -> (P.elt -> P.elt -> P.elt) -> P.elt -> P.mat -> P.mat
val filteri : (int -> P.elt -> bool) -> P.mat -> int array
val filter : (P.elt -> bool) -> P.mat -> int array
val iteri_rows : (int -> P.mat -> unit) -> P.mat -> unit
val iter_rows : (P.mat -> unit) -> P.mat -> unit
val iter2i_rows : (int -> P.mat -> P.mat -> unit) -> P.mat -> P.mat -> unit
val iter2_rows : (P.mat -> P.mat -> unit) -> P.mat -> P.mat -> unit
val iteri_cols : (int -> P.mat -> unit) -> P.mat -> unit
val iter_cols : (P.mat -> unit) -> P.mat -> unit
val filteri_rows : (int -> P.mat -> bool) -> P.mat -> int array
val filter_rows : (P.mat -> bool) -> P.mat -> int array
val filteri_cols : (int -> P.mat -> bool) -> P.mat -> int array
val filter_cols : (P.mat -> bool) -> P.mat -> int array
val fold_rows : ('a -> P.mat -> 'a) -> 'a -> P.mat -> 'a
val fold_cols : ('a -> P.mat -> 'a) -> 'a -> P.mat -> 'a
val mapi_rows : (int -> P.mat -> 'a) -> P.mat -> 'a array
val map_rows : (P.mat -> 'a) -> P.mat -> 'a array
val mapi_cols : (int -> P.mat -> 'a) -> P.mat -> 'a array
val map_cols : (P.mat -> 'a) -> P.mat -> 'a array
val mapi_by_row : int -> (int -> P.mat -> P.mat) -> P.mat -> P.mat
val map_by_row : int -> (P.mat -> P.mat) -> P.mat -> P.mat
val mapi_by_col : int -> (int -> P.mat -> P.mat) -> P.mat -> P.mat
val map_by_col : int -> (P.mat -> P.mat) -> P.mat -> P.mat
val mapi_at_row : (int -> P.elt -> P.elt) -> P.mat -> int -> P.mat
val map_at_row : (P.elt -> P.elt) -> P.mat -> int -> P.mat
val mapi_at_col : (int -> P.elt -> P.elt) -> P.mat -> int -> P.mat
val map_at_col : (P.elt -> P.elt) -> P.mat -> int -> P.mat
val exists : (P.elt -> bool) -> P.mat -> bool
val not_exists : (P.elt -> bool) -> P.mat -> bool
val for_all : (P.elt -> bool) -> P.mat -> bool
val is_zero : P.mat -> bool
val is_positive : P.mat -> bool
val is_negative : P.mat -> bool
val is_nonpositive : P.mat -> bool
val is_nonnegative : P.mat -> bool
val equal : P.mat -> P.mat -> bool
val not_equal : P.mat -> P.mat -> bool
val greater : P.mat -> P.mat -> bool
val less : P.mat -> P.mat -> bool
val greater_equal : P.mat -> P.mat -> bool
val less_equal : P.mat -> P.mat -> bool
val elt_equal : P.mat -> P.mat -> P.mat
val elt_not_equal : P.mat -> P.mat -> P.mat
val elt_less : P.mat -> P.mat -> P.mat
val elt_greater : P.mat -> P.mat -> P.mat
val elt_less_equal : P.mat -> P.mat -> P.mat
val elt_greater_equal : P.mat -> P.mat -> P.mat
val equal_scalar : P.mat -> P.elt -> bool
val not_equal_scalar : P.mat -> P.elt -> bool
val less_scalar : P.mat -> P.elt -> bool
val greater_scalar : P.mat -> P.elt -> bool
val less_equal_scalar : P.mat -> P.elt -> bool
val greater_equal_scalar : P.mat -> P.elt -> bool
val elt_equal_scalar : P.mat -> P.elt -> P.mat
val elt_not_equal_scalar : P.mat -> P.elt -> P.mat
val elt_less_scalar : P.mat -> P.elt -> P.mat
val elt_greater_scalar : P.mat -> P.elt -> P.mat
val elt_less_equal_scalar : P.mat -> P.elt -> P.mat
val elt_greater_equal_scalar : P.mat -> P.elt -> P.mat
val draw_rows : ?replacement:bool -> P.mat -> int -> P.mat * int array
val draw_cols : ?replacement:bool -> P.mat -> int -> P.mat * int array
val draw_rows2 : ?replacement:bool -> P.mat -> P.mat -> int -> P.mat * P.mat * int array
val draw_cols2 : ?replacement:bool -> P.mat -> P.mat -> int -> P.mat * P.mat * int array
val shuffle_rows : P.mat -> P.mat
val shuffle_cols : P.mat -> P.mat
val shuffle : P.mat -> P.mat
val to_array : P.mat -> P.elt array
val of_array : P.elt array -> int -> int -> P.mat
val to_arrays : P.mat -> P.elt array array
val of_arrays : P.elt array array -> P.mat
val to_rows : P.mat -> P.mat array
val of_rows : P.mat array -> P.mat
val to_cols : P.mat -> P.mat array
val of_cols : P.mat array -> P.mat
val print : ?max_row:int -> ?max_col:int -> ?header:bool -> ?fmt:(P.elt -> string) -> P.mat -> unit
val save : out:string -> P.mat -> unit
val load : string -> P.mat
val inv : P.mat -> P.mat
val trace : P.mat -> P.elt
val sum' : P.mat -> P.elt
val prod' : P.mat -> P.elt
val mean' : P.mat -> P.elt
val sum_rows : P.mat -> P.mat
val sum_cols : P.mat -> P.mat
val mean_rows : P.mat -> P.mat
val mean_cols : P.mat -> P.mat
val add : P.mat -> P.mat -> P.mat
val sub : P.mat -> P.mat -> P.mat
val mul : P.mat -> P.mat -> P.mat
val div : P.mat -> P.mat -> P.mat
val add_scalar : P.mat -> P.elt -> P.mat
val sub_scalar : P.mat -> P.elt -> P.mat
val mul_scalar : P.mat -> P.elt -> P.mat
val div_scalar : P.mat -> P.elt -> P.mat
val scalar_add : P.elt -> P.mat -> P.mat
val scalar_sub : P.elt -> P.mat -> P.mat
val scalar_mul : P.elt -> P.mat -> P.mat
val scalar_div : P.elt -> P.mat -> P.mat
val dot : P.mat -> P.mat -> P.mat
OCaml

Innovation. Community. Security.