package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type arr
type elt
val shape : arr -> int array
val empty : int array -> arr
val create : int array -> elt -> arr
val zeros : int array -> arr
val ones : int array -> arr
val uniform : ?scale:float -> int array -> arr
val numel : arr -> int
val get : arr -> int array -> elt
val set : arr -> int array -> elt -> unit
val fill : arr -> elt -> unit
val concatenate : ?axis:int -> arr array -> arr
val reshape : arr -> int array -> arr
val map : ?axis:int option array -> (elt -> elt) -> arr -> arr
val map2 : ?axis:int option array -> (elt -> elt -> elt) -> arr -> arr -> arr
val sin : arr -> arr
val cos : arr -> arr
val sum : arr -> elt
val add : arr -> arr -> arr
val sub : arr -> arr -> arr
val mul : arr -> arr -> arr
val div : arr -> arr -> arr
OCaml

Innovation. Community. Security.