optR.gauss: gauss to solve linear systems

Description Usage Arguments Value Examples

Description

Function solves linear systems using Gauss Elimination. The function solves equation of form Ax=b to Ux=c (where U is upper triangular matrix)

Usage

1
2
## S3 method for class 'gauss'
optR(A, b, tol = 1e-07)

Arguments

A

: Input Matrix

b

: Response

tol

: Tolerance

method

: To be used to perform factorization

Value

U : Upper triangular matrix

c : Transformed b

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="gauss")

Example output

Loaded optR Version:            1.2.5

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

Related to optR.gauss in optR...