float (version 0.2-4)

chol2inv: chol2inv

Description

Return the inverse of the original matrix using the Cholesky factorization of a float vector/matrix.

Usage

# S4 method for float32
chol2inv(x, size = NCOL(x), LINPACK = FALSE)

Arguments

x

A float vector/matrix.

size

The number of columns to use.

LINPACK

Ignored.

Value

A float vector/matrix.

Examples

Run this code
# NOT RUN {
library(float)

s = flrunif(10, 3)
cp = crossprod(s)
cp %*% chol2inv(chol(cp))

# }

Run the code above in your browser using DataLab