Package gov.nih.mipav.model.algorithms
Class CeresSolver.SubsetParameterization
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.CeresSolver.LocalParameterization
-
- gov.nih.mipav.model.algorithms.CeresSolver.SubsetParameterization
-
- Enclosing class:
- CeresSolver
class CeresSolver.SubsetParameterization extends CeresSolver.LocalParameterization
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Vector<java.lang.Byte>
constancy_mask_
private int
local_size_
-
Constructor Summary
Constructors Constructor Description SubsetParameterization(int size, java.util.Vector<java.lang.Integer> constant_parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ComputeJacobian(double[] x, double[] jacobian)
boolean
ComputeJacobian(double[] x, double[][] jacobian)
boolean
ComputeJacobian(double[] x, int x_start, double[] jacobian)
boolean
ComputeJacobian(double[] x, int x_start, double[][] jacobian)
int
GlobalSize()
int
LocalSize()
boolean
MultiplyByJacobian(double[] x, int num_rows, double[] global_matrix, double[] local_matrix)
boolean
Plus(double[] x, double[] delta, double[] x_plus_delta)
boolean
Plus(java.util.Vector<java.lang.Double> x, int x_index, java.util.Vector<java.lang.Double> delta, int delta_index, java.util.Vector<java.lang.Double> x_plus_delta, int x_plus_delta_index)
-
Methods inherited from class gov.nih.mipav.model.algorithms.CeresSolver.LocalParameterization
MultiplyByJacobian
-
-
-
-
Method Detail
-
Plus
public boolean Plus(java.util.Vector<java.lang.Double> x, int x_index, java.util.Vector<java.lang.Double> delta, int delta_index, java.util.Vector<java.lang.Double> x_plus_delta, int x_plus_delta_index)
- Specified by:
Plus
in classCeresSolver.LocalParameterization
-
Plus
public boolean Plus(double[] x, double[] delta, double[] x_plus_delta)
- Specified by:
Plus
in classCeresSolver.LocalParameterization
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, double[] jacobian)
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, double[][] jacobian)
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, int x_start, double[][] jacobian)
- Specified by:
ComputeJacobian
in classCeresSolver.LocalParameterization
-
ComputeJacobian
public boolean ComputeJacobian(double[] x, int x_start, double[] jacobian)
-
MultiplyByJacobian
public boolean MultiplyByJacobian(double[] x, int num_rows, double[] global_matrix, double[] local_matrix)
- Overrides:
MultiplyByJacobian
in classCeresSolver.LocalParameterization
-
GlobalSize
public int GlobalSize()
- Specified by:
GlobalSize
in classCeresSolver.LocalParameterization
-
LocalSize
public int LocalSize()
- Specified by:
LocalSize
in classCeresSolver.LocalParameterization
-
-