package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Owl_linalg_z end
type elt = Stdlib.Complex.t
type int32_mat = (int32, Bigarray.int32_elt) Owl_dense.Matrix.Generic.t
Basic functions
val inv : mat -> mat
val pinv : ?tol:float -> mat -> mat
val det : mat -> elt
val logdet : mat -> elt
val rank : ?tol:float -> mat -> int
val norm : ?p:float -> mat -> float
val cond : ?p:float -> mat -> float
val rcond : mat -> float
val is_triu : mat -> bool
val is_tril : mat -> bool
val is_symmetric : mat -> bool
val is_hermitian : mat -> bool
val is_diag : mat -> bool
val is_posdef : mat -> bool
Factorisation
val lu : mat -> mat * mat * int32_mat
val lq : ?thin:bool -> mat -> mat * mat
val qr : ?thin:bool -> ?pivot:bool -> mat -> mat * mat * int32_mat
val chol : ?upper:bool -> mat -> mat
val svd : ?thin:bool -> mat -> mat * mat * mat
val svdvals : mat -> mat
val gsvd : mat -> mat -> mat * mat * mat * mat * mat * mat
val gsvdvals : mat -> mat -> mat
val schur : mat -> mat * mat * mat
val hess : mat -> mat * mat
Eigenvalues & eigenvectors
val eig : ?permute:bool -> ?scale:bool -> mat -> mat * mat
val eigvals : ?permute:bool -> ?scale:bool -> mat -> mat
Linear system of equations
val null : mat -> mat
val linsolve : ?trans:bool -> mat -> mat -> mat
val linreg : mat -> mat -> elt * elt
Low-level factorisation functions
val lufact : mat -> mat * int32_mat
val qrfact : ?pivot:bool -> mat -> mat * mat * int32_mat
val bkfact : ?upper:bool -> ?symmetric:bool -> ?rook:bool -> mat -> mat * int32_mat
OCaml

Innovation. Community. Security.