OptimizeResult class

Result of root: the solution and how the solver ended.

Constructors

OptimizeResult({required Array x, required Array fun, required bool success, required int iterations, required int functionCalls, required String message})

Properties

fun → Array
Value of the function at x.
final
functionCalls → int
Number of evaluations of the function, including the ones used to approximate the Jacobian.
final
hashCode → int
The hash code for this object.
no setterinherited
iterations → int
Number of iterations done.
final
message → String
Why the solver stopped.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
Whether the solver found a root within the tolerance.
final
x → Array
The solution, or the last iterate when success is false.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited