- All Implemented Interfaces:
Serializable
,Comparable<LMA.Mode>
- Enclosing class:
- LMA
The mode determining how a sum of squares is calculated.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe first argument will not be passed to the real-valued function and instead will be used as values yi.The sum of the squares of values of a real-valued function will be minimized.The first two arguments will not be passed to the real-valued function and instead the first will be used as values yi, and the second as values σi The terms that are squared and summed are (yi - fi)/σi, where fi is the value of the real value function applied to the remaining arguments and parameters. -
Method Summary
-
Enum Constant Details
-
NORMAL
The sum of the squares of values of a real-valued function will be minimized. -
LEAST_SQUARES
The first argument will not be passed to the real-valued function and instead will be used as values yi. The terms that are squared and summed are yi - fi, where fi is the value of the real value function applied to the remaining arguments and parameters. -
WEIGHTED_LEAST_SQUARES
The first two arguments will not be passed to the real-valued function and instead the first will be used as values yi, and the second as values σi The terms that are squared and summed are (yi - fi)/σi, where fi is the value of the real value function applied to the remaining arguments and parameters.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-