View source: R/misc.R View source: R/misc.R
lchol | R Documentation |
Decomposes positive-definite G = L'L where L is lower-triangular.
In R, chol
returns a upper-triangular matrix R
such that G = R'R. lchol
return a lower-triangular matrix.
lchol(x)
lchol(x)
x |
a positive-definite matrix |
In R, chol
returns a upper-triangular matrix R
such that G = R'R. lchol
return a lower-triangular matrix.
mm <- cbind( c(8,2,1), c(2,10,2), c(1,2,5))
mm
chol(mm)
lchol(mm)
crossprod(chol(mm))
t(chol(mm)) %*% chol(mm)
crossprod(lchol(mm))
t(lchol(mm)) %*% lchol(mm)
mm <- cbind( c(8,2,1), c(2,10,2), c(1,2,5))
mm
chol(mm)
lchol(mm)
crossprod(chol(mm))
t(chol(mm)) %*% chol(mm)
crossprod(lchol(mm))
t(lchol(mm)) %*% lchol(mm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.