RootScalarResult class

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

Constructors

RootScalarResult({required double root, required bool converged, required int iterations, required int functionCalls, required String message})

Properties

converged → bool
Whether the solver converged within the tolerance.
final
functionCalls → int
Number of evaluations of the function (and of its derivative, for Newton).
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
root → double
The root, or the last iterate when converged is false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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