opt.matrix.reorder {optR} | R Documentation |
Function re-order the matrix to make matrix pivot.diag at each iteration
opt.matrix.reorder(A, tol = 1e-16)
A |
: Input Matrix |
tol |
: tolerance |
A : Updated Matrix
b.order : Order sequence of A updated matrix
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")