Class JordanExchange
- java.lang.Object
-
- dev.nm.solver.multivariate.constrained.convex.sdp.socp.qp.lp.simplex.JordanExchange
-
public class JordanExchange extends Object
Jordan Exchange swaps the r-th entering variable (row) with the s-th leaving variable (column) in a matrix A.
-
-
Constructor Summary
Constructors Constructor Description JordanExchange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlexibleTable
swap(MatrixTable A, int r, int s)
Constructs a new table by exchanging the r-th row with the s-th column in A using Jordan Exchange.FlexibleTable
swap(FlexibleTable A, int r, int s)
Constructs a new table by exchanging the r-th row with the s-th column in A using Jordan Exchange.FlexibleTable
swapInPlace(FlexibleTable A, int r, int s)
-
-
-
Method Detail
-
swap
public FlexibleTable swap(FlexibleTable A, int r, int s)
Constructs a new table by exchanging the r-th row with the s-th column in A using Jordan Exchange. For aFlexibleTable
, we maintain the row and columns labels.- Parameters:
A
- a tabler
- the r-th entering variable (row)s
- the s-th leaving variable (column)
-
swap
public FlexibleTable swap(MatrixTable A, int r, int s)
Constructs a new table by exchanging the r-th row with the s-th column in A using Jordan Exchange.- Parameters:
A
- a tabler
- the r-th entering variable (row)s
- the s-th leaving variable (column)
-
swapInPlace
public FlexibleTable swapInPlace(FlexibleTable A, int r, int s)
-
-