LUsplit: Function to extract Lower and Upper matrix from LU...

Description Usage Arguments Value Examples

View source: R/inv_optR.R

Description

function to extract Lower and Upper matrix from LU decomposition

Usage

1

Arguments

A

: Input matrix

Value

U : upper triangular matrix

L : Lower triangular matrix

Examples

1
2
3
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)

optR documentation built on May 29, 2017, 2:10 p.m.