public final class Matrix1NornRescaler extends Object implements MatrixRescaler
Ruiz, "A scaling algorithm to equilibrate both rows and columns norms in matrices"
,
A. Knight, Daniel Ruiz, Bora Ucar
"A Symmetry Preserving Algorithm for Matrix Scaling"
Constructor and Description |
---|
Matrix1NornRescaler()
Constructor
|
Matrix1NornRescaler(double epsilon)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkScaling(RealMatrix aOriginal,
RealVector u,
RealVector v)
Check if the scaling algorithm returned proper results.
|
RealVector[] |
getMatrixScalingFactors(RealMatrix a)
Scaling factors for not singular matrices.
|
RealVector |
getMatrixScalingFactorsSymm(RealMatrix a)
Scaling factors for symmetric (not singular) matrices.
|
static double |
getRowInfinityNorm(RealMatrix aSymm,
int r) |
public Matrix1NornRescaler()
public Matrix1NornRescaler(double epsilon)
epsilon
- epsilon valuepublic RealVector[] getMatrixScalingFactors(RealMatrix a)
getMatrixScalingFactors
in interface MatrixRescaler
a
- matrix ARuiz,
"A scaling algorithm to equilibrate both rows and columns norms in matrices"
,
A. Knight, Daniel Ruiz, Bora Ucar
"A Symmetry Preserving Algorithm for Matrix Scaling"
public RealVector getMatrixScalingFactorsSymm(RealMatrix a)
getMatrixScalingFactorsSymm
in interface MatrixRescaler
a
- matrix ARuiz,
"A scaling algorithm to equilibrate both rows and columns norms in matrices"
,
A. Knight, Daniel Ruiz, Bora Ucar
"A Symmetry Preserving Algorithm for Matrix Scaling"
public boolean checkScaling(RealMatrix aOriginal, RealVector u, RealVector v)
checkScaling
in interface MatrixRescaler
aOriginal
- the ORIGINAL (before scaling) matrixu
- the return of the scaling algorithmv
- the return of the scaling algorithmbase
- public static double getRowInfinityNorm(RealMatrix aSymm, int r)
aSymm
- symm matrix filled in its subdiagonal elementsr
- the index of the rowCopyright © 2021 CNES. All rights reserved.