LUsplit {optR} | R Documentation |
Function to extract Lower and Upper matrix from LU decomposition
Description
function to extract Lower and Upper matrix from LU decomposition
Usage
LUsplit(A)
Arguments
A |
: Input matrix |
Value
U : upper triangular matrix
L : Lower triangular matrix
Examples
A<-matrix(c(0,-1,1, -1,2,-1,2,-1,0), nrow=3,ncol=3, byrow = TRUE)
Z<-optR(A, method="LU")
LUsplit(Z$U)
[Package optR version 1.2.5 Index]