package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module P : PackSig
module M : BasicSig with type mat := P.mat and type elt := P.elt

Signature

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 : 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 : P.elt -> P.elt -> int -> Owl_ext_types.ext_typ
val meshgrid : P.elt -> P.elt -> P.elt -> P.elt -> int -> int -> Owl_ext_types.ext_typ * 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 : int -> int -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val slice : int list list -> Owl_ext_types.ext_typ -> 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 -> P.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val iter : (P.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val mapi : (int -> int -> P.elt -> P.elt) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val map : (int -> int -> P.elt -> P.elt) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val foldi : (int -> int -> 'a -> P.elt -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val fold : ('a -> P.elt -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val filteri : (int -> int -> P.elt -> bool) -> Owl_ext_types.ext_typ -> (int * int) array
val filter : (P.elt -> bool) -> Owl_ext_types.ext_typ -> (int * int) array
val iteri_rows : (int -> P.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val iter_rows : (P.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val iteri_cols : (int -> P.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val iter_cols : (P.mat -> unit) -> Owl_ext_types.ext_typ -> unit
val filteri_rows : (int -> P.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val filter_rows : (P.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val filteri_cols : (int -> P.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val filter_cols : (P.mat -> bool) -> Owl_ext_types.ext_typ -> int array
val fold_rows : ('a -> P.mat -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val fold_cols : ('a -> P.mat -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val mapi_rows : (int -> P.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val map_rows : (P.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val mapi_cols : (int -> P.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val map_cols : (P.mat -> 'a) -> Owl_ext_types.ext_typ -> 'a array
val mapi_by_row : int -> (int -> P.mat -> P.mat) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val map_by_row : int -> (P.mat -> P.mat) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val mapi_by_col : int -> (int -> P.mat -> P.mat) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val map_by_col : int -> (P.mat -> P.mat) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val mapi_at_row : (int -> int -> P.elt -> P.elt) -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ
val map_at_row : (P.elt -> P.elt) -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ
val mapi_at_col : (int -> int -> P.elt -> P.elt) -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ
val map_at_col : (P.elt -> P.elt) -> Owl_ext_types.ext_typ -> int -> Owl_ext_types.ext_typ
val exists : (P.elt -> bool) -> Owl_ext_types.ext_typ -> bool
val not_exists : (P.elt -> bool) -> Owl_ext_types.ext_typ -> bool
val for_all : (P.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 -> P.mat
val shuffle_cols : Owl_ext_types.ext_typ -> P.mat
val shuffle : Owl_ext_types.ext_typ -> P.mat
val to_array : Owl_ext_types.ext_typ -> P.elt array
val of_array : P.elt array -> int -> int -> Owl_ext_types.ext_typ
val to_arrays : Owl_ext_types.ext_typ -> P.elt array array
val of_arrays : P.elt array array -> Owl_ext_types.ext_typ
val print : Owl_ext_types.ext_typ -> unit
val pp_dsmat : Owl_ext_types.ext_typ -> unit
val save : Owl_ext_types.ext_typ -> string -> unit
val load : string -> Owl_ext_types.ext_typ
OCaml

Innovation. Community. Security.