opt.matrix.reorder: Function to Re-order the matrix to make dominant diagnals

Description Usage Arguments Value Examples

Description

Function re-order the matrix to make matrix pivot.diag at each iteration

Usage

1
opt.matrix.reorder(A, tol = 1e-16)

Arguments

A

: Input Matrix

tol

: tolerance

Value

A : Updated Matrix

b.order : Order sequence of A updated matrix

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.