Package gov.nih.mipav.model.algorithms
Class CeresSolverTest.SchurEliminatorTest
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolverTest.SchurEliminatorTest
-
- Enclosing class:
- CeresSolverTest
class CeresSolverTest.SchurEliminatorTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private CeresSolver.BlockSparseMatrix
A
private double[]
b
private double[]
D
private Jama.Matrix
lhs_expected
private int
num_eliminate_blocks
private int
num_eliminate_cols
private java.util.Vector<java.lang.Double>
rhs_expected
private java.util.Vector<java.lang.Double>
sol_expected
private java.lang.String
testName
-
Constructor Summary
Constructors Constructor Description SchurEliminatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ComputeReferenceSolution(double[] D)
void
EliminateSolveAndCompare(double[] diagonal, boolean use_static_structure, double relative_tolerance)
void
SchurEliminatorTestScalarProblemNoRegularization()
void
SchurEliminatorTestScalarProblemWithRegularization()
void
SchurEliminatorTestVaryingFBlockSizeWithoutStaticStructure()
void
SchurEliminatorTestVaryingFBlockSizeWithStaticStructure()
void
SetUpFromId(int id)
void
SetupHelper(CeresSolver.LinearLeastSquaresProblem problem)
-
-
-
Field Detail
-
A
private CeresSolver.BlockSparseMatrix A
-
b
private double[] b
-
D
private double[] D
-
num_eliminate_blocks
private int num_eliminate_blocks
-
num_eliminate_cols
private int num_eliminate_cols
-
lhs_expected
private Jama.Matrix lhs_expected
-
rhs_expected
private java.util.Vector<java.lang.Double> rhs_expected
-
sol_expected
private java.util.Vector<java.lang.Double> sol_expected
-
testName
private java.lang.String testName
-
-
Method Detail
-
SchurEliminatorTestScalarProblemNoRegularization
public void SchurEliminatorTestScalarProblemNoRegularization()
-
SchurEliminatorTestScalarProblemWithRegularization
public void SchurEliminatorTestScalarProblemWithRegularization()
-
SchurEliminatorTestVaryingFBlockSizeWithStaticStructure
public void SchurEliminatorTestVaryingFBlockSizeWithStaticStructure()
-
SchurEliminatorTestVaryingFBlockSizeWithoutStaticStructure
public void SchurEliminatorTestVaryingFBlockSizeWithoutStaticStructure()
-
SetUpFromId
public void SetUpFromId(int id)
-
SetupHelper
public void SetupHelper(CeresSolver.LinearLeastSquaresProblem problem)
-
ComputeReferenceSolution
public void ComputeReferenceSolution(double[] D)
-
EliminateSolveAndCompare
public void EliminateSolveAndCompare(double[] diagonal, boolean use_static_structure, double relative_tolerance)
-
-