Package gov.nih.mipav.model.algorithms
Class CeresSolver.CompressedRowJacobianWriter
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.CompressedRowJacobianWriter
-
- Enclosing class:
- CeresSolver
class CeresSolver.CompressedRowJacobianWriter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
CeresSolver.CompressedRowJacobianWriter.indexintintComparator
(package private) class
CeresSolver.CompressedRowJacobianWriter.indexintintItem
-
Field Summary
Fields Modifier and Type Field Description private CeresSolver.Program
program_
-
Constructor Summary
Constructors Constructor Description CompressedRowJacobianWriter(CeresSolver.EvaluatorOptions options, CeresSolver.Program program)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CeresSolver.ScratchEvaluatePreparer[]
CreateEvaluatePreparers(int num_threads)
CeresSolver.SparseMatrix
CreateJacobian()
void
GetOrderedParameterBlocks(CeresSolver.Program program, int residual_id, java.util.Vector<CeresSolver.Pair<java.lang.Integer,java.lang.Integer>> evaluated_jacobian_blocks)
void
PopulateJacobianRowAndColumnBlockVectors(CeresSolver.Program program, CeresSolver.CompressedRowSparseMatrix jacobian)
void
Write(int residual_id, int residual_offset, double[][] jacobians, CeresSolver.SparseMatrix base_jacobian)
-
-
-
Field Detail
-
program_
private CeresSolver.Program program_
-
-
Constructor Detail
-
CompressedRowJacobianWriter
public CompressedRowJacobianWriter(CeresSolver.EvaluatorOptions options, CeresSolver.Program program)
-
-
Method Detail
-
CreateEvaluatePreparers
public CeresSolver.ScratchEvaluatePreparer[] CreateEvaluatePreparers(int num_threads)
-
PopulateJacobianRowAndColumnBlockVectors
public void PopulateJacobianRowAndColumnBlockVectors(CeresSolver.Program program, CeresSolver.CompressedRowSparseMatrix jacobian)
-
CreateJacobian
public CeresSolver.SparseMatrix CreateJacobian()
-
GetOrderedParameterBlocks
public void GetOrderedParameterBlocks(CeresSolver.Program program, int residual_id, java.util.Vector<CeresSolver.Pair<java.lang.Integer,java.lang.Integer>> evaluated_jacobian_blocks)
-
Write
public void Write(int residual_id, int residual_offset, double[][] jacobians, CeresSolver.SparseMatrix base_jacobian)
-
-