Class LossSquared.Function
java.lang.Object
org.ddogleg.optimization.loss.LossFunctionBase
org.ddogleg.optimization.loss.LossSquared
org.ddogleg.optimization.loss.LossSquared.Function
- All Implemented Interfaces:
FunctionNtoS, LossFunction
- Enclosing class:
LossSquared
-
Nested Class Summary
Nested classes/interfaces inherited from class LossSquared
LossSquared.Function, LossSquared.Gradient -
Field Summary
Fields inherited from class LossFunctionBase
numberOfFunctions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleprocess(double[] input) Computes the output given an array of inputs.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LossFunction
fixate, getNumberOfFunctions, getNumOfInputsN, setNumberOfFunctions
-
Constructor Details
-
Function
public Function()
-
-
Method Details
-
process
public double process(double[] input) Description copied from interface:FunctionNtoSComputes the output given an array of inputs.- Specified by:
processin interfaceFunctionNtoS- Parameters:
input- Array containing input values- Returns:
- The output.
-