Package gov.nih.mipav.model.algorithms
Class CeresSolver.SchurComplementSolver
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.LinearSolver
-
- gov.nih.mipav.model.algorithms.CeresSolver.TypedLinearSolver<CeresSolver.BlockSparseMatrix>
-
- gov.nih.mipav.model.algorithms.CeresSolver.SchurComplementSolver
-
- Direct Known Subclasses:
CeresSolver.DenseSchurComplementSolver
- Enclosing class:
- CeresSolver
abstract class CeresSolver.SchurComplementSolver extends CeresSolver.TypedLinearSolver<CeresSolver.BlockSparseMatrix>
-
-
Field Summary
Fields Modifier and Type Field Description private CeresSolver.SchurEliminatorBase
eliminator_
private CeresSolver.BlockRandomAccessMatrix
lhs_
private CeresSolver.LinearSolverOptions
options_
private double[]
rhs_
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.TypedLinearSolver
execution_summary_
-
Fields inherited from class gov.nih.mipav.model.algorithms.CeresSolver.LinearSolver
perSolveOptions, summary
-
-
Constructor Summary
Constructors Constructor Description SchurComplementSolver(CeresSolver.LinearSolverOptions options)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
InitStorage(CeresSolver.CompressedRowBlockStructure bs)
protected CeresSolver.BlockRandomAccessMatrix
lhs()
protected CeresSolver.LinearSolverOptions
options()
protected double[]
rhs()
protected void
set_lhs(CeresSolver.BlockRandomAccessMatrix lhs)
protected void
set_rhs(double[] rhs)
CeresSolver.LinearSolverSummary
SolveImpl(CeresSolver.BlockSparseMatrix A, double[] b, CeresSolver.LinearSolverPerSolveOptions per_solve_options, double[] x)
protected abstract CeresSolver.LinearSolverSummary
SolveReducedLinearSystem(CeresSolver.LinearSolverPerSolveOptions per_solve_options, double[] solution)
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.TypedLinearSolver
Solve, Statistics
-
-
-
-
Field Detail
-
options_
private CeresSolver.LinearSolverOptions options_
-
eliminator_
private CeresSolver.SchurEliminatorBase eliminator_
-
lhs_
private CeresSolver.BlockRandomAccessMatrix lhs_
-
rhs_
private double[] rhs_
-
-
Constructor Detail
-
SchurComplementSolver
public SchurComplementSolver(CeresSolver.LinearSolverOptions options)
-
-
Method Detail
-
SolveImpl
public CeresSolver.LinearSolverSummary SolveImpl(CeresSolver.BlockSparseMatrix A, double[] b, CeresSolver.LinearSolverPerSolveOptions per_solve_options, double[] x)
- Specified by:
SolveImpl
in classCeresSolver.TypedLinearSolver<CeresSolver.BlockSparseMatrix>
-
options
protected CeresSolver.LinearSolverOptions options()
-
lhs
protected CeresSolver.BlockRandomAccessMatrix lhs()
-
set_lhs
protected void set_lhs(CeresSolver.BlockRandomAccessMatrix lhs)
-
rhs
protected double[] rhs()
-
set_rhs
protected void set_rhs(double[] rhs)
-
InitStorage
protected abstract void InitStorage(CeresSolver.CompressedRowBlockStructure bs)
-
SolveReducedLinearSystem
protected abstract CeresSolver.LinearSolverSummary SolveReducedLinearSystem(CeresSolver.LinearSolverPerSolveOptions per_solve_options, double[] solution)
-
-