package oml

  1. Overview
  2. Docs
type t = Vectors.t array
val row : t -> int -> Vectors.t
val column : t -> int -> Vectors.t
val dim : t -> int * int
val transpose : t -> t
val diagonal : Vectors.t -> t
val equal : ?d:float -> t -> t -> bool
val add : t -> t -> t
val sub : t -> t -> t
val mult : float -> t -> t
val identity : int -> t
val prod : t -> t -> t
val prod_row_vector : Vectors.t -> t -> Vectors.t
val prod_column_vector : t -> Vectors.t -> Vectors.t
OCaml

Innovation. Community. Security.