package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
val empty : int array -> Owl_ext_types.ext_typ
val create : int array -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val zeros : int array -> Owl_ext_types.ext_typ
val ones : int array -> Owl_ext_types.ext_typ
val uniform : ?scale:float -> int array -> Owl_ext_types.ext_typ
val sequential : ?a:Pack_DAD.elt -> ?step:Pack_DAD.elt -> int array -> Owl_ext_types.ext_typ
val linspace : Pack_DAD.elt -> Pack_DAD.elt -> int -> Owl_ext_types.ext_typ
val logspace : ?base:'a -> Pack_DAD.elt -> Pack_DAD.elt -> int -> Owl_ext_types.ext_typ
val shape : Owl_ext_types.ext_typ -> int array
val num_dims : Owl_ext_types.ext_typ -> int
val nth_dim : Owl_ext_types.ext_typ -> int -> 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 -> Pack_DAD.arr -> bool
val set : Owl_ext_types.ext_typ -> int array -> Owl_ext_types.ext_typ -> unit
val sub_left : Owl_ext_types.ext_typ -> int -> int -> Owl_ext_types.ext_typ
val slice_left : 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 transpose : ?axis:int array -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val swap : int -> int -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val tile : Owl_ext_types.ext_typ -> int array -> Pack_DAD.arr
val repeat : ?axis:int -> Owl_ext_types.ext_typ -> int -> Pack_DAD.arr
val squeeze : ?axis:int array -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val iteri : ?axis:int option array -> (int array -> Pack_DAD.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val iter : ?axis:int option array -> (Pack_DAD.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val mapi : ?axis:int option array -> (int array -> Pack_DAD.elt -> Pack_DAD.elt) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val map2i : ?axis:int option array -> (int array -> Pack_DAD.elt -> Pack_DAD.elt -> Pack_DAD.elt) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val filteri : ?axis:int option array -> (int array -> Pack_DAD.elt -> bool) -> Owl_ext_types.ext_typ -> int array array
val filter : (Pack_DAD.elt -> bool) -> Owl_ext_types.ext_typ -> int array array
val foldi : ?axis:int option array -> (int array -> 'a -> Pack_DAD.elt -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val fold : ('a -> Pack_DAD.elt -> 'a) -> 'a -> Owl_ext_types.ext_typ -> 'a
val iteri_slice : int array -> (int array array -> Pack_DAD.arr -> unit) -> Owl_ext_types.ext_typ -> unit
val iter_slice : int array -> (Pack_DAD.arr -> unit) -> Owl_ext_types.ext_typ -> unit
val iter2i : (int array -> Pack_DAD.elt -> Pack_DAD.elt -> unit) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> unit
val exists : (Pack_DAD.elt -> bool) -> Owl_ext_types.ext_typ -> bool
val not_exists : (Pack_DAD.elt -> bool) -> Owl_ext_types.ext_typ -> bool
val for_all : (Pack_DAD.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 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)