Learn R Programming

GPvecchia (version 0.1.7)

SelInv: selected inverse of a sparse matrix

Description

selected inverse of a sparse matrix

Usage

SelInv(cholmat)

Value

sparse inverse of A, with same sparsity pattern as L

Arguments

cholmat

cholesky factor L of a positive definite sparseMatrix A

Examples

Run this code
A=Matrix::sparseMatrix(1:9,1:9,x=4); L=Matrix::chol(A)
SelInv(L)

Run the code above in your browser using DataLab