LU.optR: Solving system of equations using LU decomposition

Description Usage Arguments Value Examples

Description

The function solves Ax=b using LU decomposition (LUx=b). The function handles multple responses

Usage

1
LU.optR(A, b, tol = 1e-07)

Arguments

A

: Input Matrix

b

: Response

tol

: tolerance

Value

U : Upper part of the triangele is (U) and Lower part of the triangular is L (Diagnoal for the L matrix is 1)

c : Lc=b (where Ux=c)

beta : Estimates

Examples

1
2
3
A<-matrix(c(0,-1,1, -1,2,-1,2,-1,0), nrow=3,ncol=3, byrow = TRUE)
b<-matrix(c(0,0, 1), nrow=3,ncol=1,byrow=TRUE)
Z<-optR(A, b, method="LU")

Example output

Loaded optR Version:            1.2.5

optR documentation built on May 1, 2019, 10:32 p.m.

Related to LU.optR in optR...