Module Gpr.Block_diag
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 potrf : t -> unit
potrf bm
perform Cholesky factorization on block diagonal matrixbm
.
val potri : t -> unit
potri bm
invert block diagonal matrixbm
using its already precomputed Cholesky factor.