public class JordanExchange extends Object
Constructor and Description |
---|
JordanExchange() |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
swapInPlace(FlexibleTable A,
int r,
int s) |
public FlexibleTable swap(FlexibleTable A, int r, int s)
FlexibleTable
, we maintain the row and columns labels.A
- a tabler
- the r-th entering variable (row)s
- the s-th leaving variable (column)public FlexibleTable swap(MatrixTable A, int r, int s)
A
- a tabler
- the r-th entering variable (row)s
- the s-th leaving variable (column)public FlexibleTable swapInPlace(FlexibleTable A, int r, int s)
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.