package gpr

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private {
  1. data : Lacaml.D.mat array;
  2. n : int;
}

Type of block diagonal matrices

val create : Lacaml.D.mat array -> t

create mats

  • returns

    a block diagonal matrix whose block elements are made of the matrices in mats.

val copy : t -> t

copy bm

  • returns

    a copy of block diagonal matrix bm.

val potrf : ?jitter:float -> t -> unit

potrf ?jitter bm perform Cholesky factorization on block diagonal matrix bm using Cholesky jitter if given.

  • parameter jitter

    default = no jitter

val potri : ?jitter:float -> ?factorize:bool -> t -> unit

potri ?jitter ?factorize bm invert block diagonal matrix bm using its Cholesky factor. If factorize is false, it is assumed that the factorization has already been performed, otherwise it will be calculated using Cholesky jitter if given.

  • parameter jitter

    default = no jitter

  • parameter factorize

    default = true

OCaml

Innovation. Community. Security.