package owl

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

Parameters

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

Signature

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:P.elt -> ?step:P.elt -> int array -> Owl_ext_types.ext_typ
val linspace : P.elt -> P.elt -> int -> Owl_ext_types.ext_typ
val logspace : ?base:'a -> P.elt -> P.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 -> P.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 -> P.arr
val repeat : ?axis:int -> Owl_ext_types.ext_typ -> int -> P.arr
val squeeze : ?axis:int array -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val iteri : ?axis:int option array -> (int array -> P.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val iter : ?axis:int option array -> (P.elt -> unit) -> Owl_ext_types.ext_typ -> unit
val mapi : ?axis:int option array -> (int array -> P.elt -> P.elt) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val map2i : ?axis:int option array -> (int array -> P.elt -> P.elt -> P.elt) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ
val filteri : ?axis:int option array -> (int array -> P.elt -> bool) -> Owl_ext_types.ext_typ -> int array array
val filter : (P.elt -> bool) -> Owl_ext_types.ext_typ -> int array array
val foldi : ?axis:int option array -> (int array -> '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 iteri_slice : int array -> (int array array -> P.arr -> unit) -> Owl_ext_types.ext_typ -> unit
val iter_slice : int array -> (P.arr -> unit) -> Owl_ext_types.ext_typ -> unit
val iter2i : (int array -> P.elt -> P.elt -> unit) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> unit
val iter2 : (P.elt -> P.elt -> unit) -> Owl_ext_types.ext_typ -> Owl_ext_types.ext_typ -> unit
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 print : 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.