com.numericalmethod.suanshu.optimization.constrained.linearprogramming.simplex
Class JordanExchange
java.lang.Object
com.numericalmethod.suanshu.matrix.doubles.matrixtype.MatrixMathImpl<T>
com.numericalmethod.suanshu.matrix.doubles.matrixtype.MatrixStorageImpl<DenseMatrix>
com.numericalmethod.suanshu.matrix.doubles.matrixtype.dense.DenseMatrix
com.numericalmethod.suanshu.optimization.constrained.linearprogramming.simplex.JordanExchange
- All Implemented Interfaces:
- DeepCopyable, AbelianGroup<Matrix>, Monoid<Matrix>, Ring<Matrix>, Matrix, MatrixAccessor, MatrixRing, Densifiable, MatrixDimension
public class JordanExchange
- extends DenseMatrix
Jordan Exchange exchanges the r-th basic/entering variable with the s-th non-basic/leaving variable of a matrix A,
a representation of a linear function.
- See Also:
- "Section 2.1. Linear Programming with MATLAB. Michael C. Ferris, Olvi L. Mangasarian, Stephen J. Wright."
|
Constructor Summary |
JordanExchange(Matrix A,
int r,
int s)
Construct the Jordan Exchange matrix for a matrix A
by exchanging the the basic/entering variable with the s-th non-basic/leaving variable. |
JordanExchange(Matrix A,
int r,
int s,
double epsilon)
Construct the Jordan Exchange matrix for a matrix A
by exchanging the the basic/entering variable with the s-th non-basic/leaving variable. |
| Methods inherited from class com.numericalmethod.suanshu.matrix.doubles.matrixtype.dense.DenseMatrix |
add, deepCopy, getColumn, getColumn, getMatrixData, getRow, getRow, getSample, minus, multiply, multiply, ONE, overwrite, scaled, t, toDense, ZERO |
| Methods inherited from class com.numericalmethod.suanshu.matrix.doubles.matrixtype.MatrixMathImpl |
add, call, minus, multiply, nCols, nRows, opposite, setColumn, setColumn, setRow, setRow, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JordanExchange
public JordanExchange(Matrix A,
int r,
int s,
double epsilon)
- Construct the Jordan Exchange matrix for a matrix
A
by exchanging the the basic/entering variable with the s-th non-basic/leaving variable.
- Parameters:
A - a linear functionr - r-th basic/entering variable to be exchanged (row)s - s-th non-basic/leaving variable to be exchanged (column)epsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0
JordanExchange
public JordanExchange(Matrix A,
int r,
int s)
- Construct the Jordan Exchange matrix for a matrix
A
by exchanging the the basic/entering variable with the s-th non-basic/leaving variable.
- Parameters:
A - a linear functionr - r-th basic/entering variable to be exchanged (row)s - s-th non-basic/leaving variable to be exchanged (column)
Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.