enum
GSL::MultiRoot::AlgorithmF
Defined in:
gsl/maths/optimization/multiroot.crEnum Members
-
HybridScaled =
0 -
This is a version of the Hybrid algorithm which replaces calls to the Jacobian function by its finite difference approximation.
-
Hybrid =
1 -
This is a finite difference version of the Hybrid algorithm without internal scaling.
-
DiscreteNewton =
2 -
The discrete Newton algorithm is the simplest method of solving a multidimensional system. The algorithm may become unstable if the finite differences are not a good approximation to the true derivatives.
-
Broyden =
3 -
The Broyden algorithm is a version of the discrete Newton algorithm which attempts to avoids the expensive update of the Jacobian matrix on each iteration. This algorithm is included only for demonstration purposes, and is not recommended for serious use.
Instance Method Summary
-
#broyden?
Returns
trueif this enum value equalsBroyden -
#discrete_newton?
Returns
trueif this enum value equalsDiscreteNewton -
#hybrid?
Returns
trueif this enum value equalsHybrid -
#hybrid_scaled?
Returns
trueif this enum value equalsHybridScaled -
#to_s
Returns a
Stringrepresentation of this enum member. - #to_unsafe
Instance Method Detail
Returns a String representation of this enum member.
In the case of regular enums, this is just the name of the member.
In the case of flag enums, it's the names joined by vertical bars, or "None",
if the value is zero.
If an enum's value doesn't match a member's value, the raw value is returned as a string.
Color::Red.to_s # => "Red"
IOMode::None.to_s # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"
Color.new(10).to_s # => "10"