Package gov.nih.mipav.model.algorithms
Class CeresSolver.BlockJacobianWriter
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.BlockJacobianWriter
-
- Enclosing class:
- CeresSolver
class CeresSolver.BlockJacobianWriter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Vector<int[]>
jacobian_layout_
private java.util.Vector<java.lang.Integer>
jacobian_layout_storage_
private CeresSolver.Program
program_
-
Constructor Summary
Constructors Constructor Description BlockJacobianWriter(CeresSolver.EvaluatorOptions options, CeresSolver.Program program)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
BuildJacobianLayout(CeresSolver.Program program, int num_eliminate_blocks, java.util.Vector<int[]> jacobian_layout, java.util.Vector<java.lang.Integer> jacobian_layout_storage)
CeresSolver.BlockEvaluatePreparer[]
CreateEvaluatePreparers(int num_threads)
CeresSolver.SparseMatrix
CreateJacobian()
void
Write(int residual_id, int residual_offset, double[][] jacobians, CeresSolver.SparseMatrix jacobian)
-
-
-
Field Detail
-
program_
private CeresSolver.Program program_
-
jacobian_layout_
private java.util.Vector<int[]> jacobian_layout_
-
jacobian_layout_storage_
private java.util.Vector<java.lang.Integer> jacobian_layout_storage_
-
-
Constructor Detail
-
BlockJacobianWriter
public BlockJacobianWriter(CeresSolver.EvaluatorOptions options, CeresSolver.Program program)
-
-
Method Detail
-
BuildJacobianLayout
public void BuildJacobianLayout(CeresSolver.Program program, int num_eliminate_blocks, java.util.Vector<int[]> jacobian_layout, java.util.Vector<java.lang.Integer> jacobian_layout_storage)
-
CreateEvaluatePreparers
public CeresSolver.BlockEvaluatePreparer[] CreateEvaluatePreparers(int num_threads)
-
CreateJacobian
public CeresSolver.SparseMatrix CreateJacobian()
-
Write
public void Write(int residual_id, int residual_offset, double[][] jacobians, CeresSolver.SparseMatrix jacobian)
-
-