georegression.fitting.sphere
Class SphereToPointSignedDistanceJacobian_F64
- java.lang.Object
-
- georegression.fitting.sphere.SphereToPointSignedDistanceJacobian_F64
-
- All Implemented Interfaces:
- FunctionNtoMxN
public class SphereToPointSignedDistanceJacobian_F64 extends java.lang.Object implements FunctionNtoMxN
Jacobian ofSphereToPointSignedDistance_F64.
-
-
Constructor Summary
Constructors Constructor and Description SphereToPointSignedDistanceJacobian_F64()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetNumOfInputsN()Number of input parameters and columns in output matrix.intgetNumOfOutputsM()Number of rows in output matrix.voidprocess(double[] input, double[] output)Processes the input vector to output a 2D a matrix.voidsetPoints(java.util.List<Point3D_F64> points)
-
-
-
Constructor Detail
-
SphereToPointSignedDistanceJacobian_F64
public SphereToPointSignedDistanceJacobian_F64()
-
-
Method Detail
-
setPoints
public void setPoints(java.util.List<Point3D_F64> points)
-
getNumOfInputsN
public int getNumOfInputsN()
Description copied from interface:FunctionNtoMxNNumber of input parameters and columns in output matrix. Typically the parameters you are optimizing.- Specified by:
getNumOfInputsNin interfaceFunctionNtoMxN- Returns:
- Number of input parameters
-
getNumOfOutputsM
public int getNumOfOutputsM()
Description copied from interface:FunctionNtoMxNNumber of rows in output matrix. Typically the functions that are being optimized.- Specified by:
getNumOfOutputsMin interfaceFunctionNtoMxN- Returns:
- Number of rows in output matrix.
-
process
public void process(double[] input, double[] output)Description copied from interface:FunctionNtoMxNProcesses the input vector to output a 2D a matrix. The matrix has a dimension of M rows and N columns and is formatted as a row major 1D-array. EJML can be used to provide a matrix wrapper around the output array: DenseMatrix J = DenseMatrix.wrap(m,n,output);
The user can modify the input parameters here and the optimizer must use those changes.
- Specified by:
processin interfaceFunctionNtoMxN- Parameters:
input- Vector with input parameters.output- Row major array with M rows and N columns.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG