package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
val empty : int -> int -> Owl_ext_types.ext_typ
val zeros : int -> int -> Owl_ext_types.ext_typ
val ones : int -> int -> Owl_ext_types.ext_typ
val eye : int -> Owl_ext_types.ext_typ
val sequential : ?a:Pack_DMS.elt -> ?step:Pack_DMS.elt -> int -> int -> Owl_ext_types.ext_typ
val uniform : ?scale:float -> int -> int -> Owl_ext_types.ext_typ
val gaussian : ?sigma:float -> int -> int -> Owl_ext_types.ext_typ
val linspace : Pack_DMS.elt -> Pack_DMS.elt -> int -> Owl_ext_types.ext_typ
val shape : Owl_ext_types.ext_typ -> int * int
val row_num : Owl_ext_types.ext_typ -> int
val col_num : Owl_ext_types.ext_typ -> int
val numel : Owl_ext_types.ext_typ -> int
val nnz : Owl_ext_types.ext_typ -> int
val density : Owl_ext_types.ext_typ -> float
val size_in_bytes : Owl_ext_types.ext_typ -> int
val same_shape : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val get : Owl_ext_types.ext_typ -> int -> int -> Owl_ext_types.ext_typ
val set : Owl_ext_types.ext_typ -> int -> int -> Owl_ext_types.ext_typ -> unit
val rows : Owl_ext_types.ext_typ -> int array -> Owl_ext_types.ext_typ
val cols : Owl_ext_types.ext_typ -> int array -> Owl_ext_types.ext_typ
val reshape : Owl_ext_types.ext_typ -> int array -> Owl_ext_types.ext_typ
val copy_row_to : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> int -> unit
val copy_col_to : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> int -> unit
val swap_rows : Owl_ext_types.ext_typ -> int -> int -> unit
val swap_cols : Owl_ext_types.ext_typ -> int -> int -> unit
val tile : Owl_ext_types.ext_typ -> int array -> Owl_ext_types.ext_typ
val repeat : ?axis:int -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ
val iteri : (int -> int -> Pack_DMS.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val iter : (Pack_DMS.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val foldi : (int -> int -> 'a -> Pack_DMS.elt -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val fold : ('a -> Pack_DMS.elt -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val filteri : (int -> int -> Pack_DMS.elt -> bool) -> Owl_ext_types.ext_typ -> (int * int) array
val filter : (Pack_DMS.elt -> bool) -> Owl_ext_types.ext_typ -> (int * int) array
val iteri_rows : (int -> Pack_DMS.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val iter_rows : (Pack_DMS.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val iteri_cols : (int -> Pack_DMS.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val iter_cols : (Pack_DMS.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val filteri_rows : (int -> Pack_DMS.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val filter_rows : (Pack_DMS.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val filteri_cols : (int -> Pack_DMS.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val filter_cols : (Pack_DMS.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val fold_rows : ('a -> Pack_DMS.mat -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val fold_cols : ('a -> Pack_DMS.mat -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val mapi_rows : (int -> Pack_DMS.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val map_rows : (Pack_DMS.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val mapi_cols : (int -> Pack_DMS.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val map_cols : (Pack_DMS.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val mapi_by_row : int -> (int -> Pack_DMS.mat -> Pack_DMS.mat) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val mapi_by_col : int -> (int -> Pack_DMS.mat -> Pack_DMS.mat) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val mapi_at_row : (int -> int -> Pack_DMS.elt -> Pack_DMS.elt) -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ
val mapi_at_col : (int -> int -> Pack_DMS.elt -> Pack_DMS.elt) -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ
val exists : (Pack_DMS.elt -> bool) -> Owl_ext_types.ext_typ -> bool
val not_exists : (Pack_DMS.elt -> bool) -> Owl_ext_types.ext_typ -> bool
val for_all : (Pack_DMS.elt -> bool) -> Owl_ext_types.ext_typ -> bool
val is_zero : Owl_ext_types.ext_typ -> bool
val is_positive : Owl_ext_types.ext_typ -> bool
val is_negative : Owl_ext_types.ext_typ -> bool
val is_nonpositive : Owl_ext_types.ext_typ -> bool
val is_nonnegative : Owl_ext_types.ext_typ -> bool
val not_equal : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val greater_equal : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val less_equal : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val equal_scalar : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val not_equal_scalar : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val less_scalar : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val greater_scalar : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val less_equal_scalar : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val greater_equal_scalar : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> bool
val draw_rows : ?replacement:bool -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ * int array
val draw_cols : ?replacement:bool -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ * int array
val shuffle_rows : Owl_ext_types.ext_typ -> Pack_DMS.mat
val shuffle_cols : Owl_ext_types.ext_typ -> Pack_DMS.mat
val to_array : Owl_ext_types.ext_typ -> Pack_DMS.elt array
val of_array : Pack_DMS.elt array -> int -> int -> Owl_ext_types.ext_typ
val to_arrays : Owl_ext_types.ext_typ -> Pack_DMS.elt array array
val of_arrays : Pack_DMS.elt array array -> Owl_ext_types.ext_typ
val print : Owl_ext_types.ext_typ -> unit
val save : Owl_ext_types.ext_typ -> string -> unit
val load : string -> Owl_ext_types.ext_typ
include sig ... end
val min_i : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ * int array
val max_i : Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ * int array
val minmax_i : Owl_ext_types.ext_typ -> (Owl_ext_types.ext_typ * int array) * (Owl_ext_types.ext_typ * int array)