opt.matrix.reorder {optR}R Documentation

Function to Re-order the matrix to make dominant diagnals

Description

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

Usage

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

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

[Package optR version 1.2.5 Index]