struct
EvaluationMethod
The evaluation method used to evaluate the polynomial.
Aliases
HORNER = 0
: Evaluate the polynomial using Horner's method.ESTRIN = 1
: Evaluate the polynomial using Estrin's method.
Implemented traits
AnyType
,
Copyable
,
EqualityComparable
,
Movable
Methods
__eq__
__eq__(self: Self, other: Self) -> Bool
Checks if the two methods are equal.
Args:
- other (
Self
): The other method.
Returns:
True if both methods are the same and False otherwise.
__ne__
__ne__(self: Self, other: Self) -> Bool
Checks if the two methods are not equal.
Args:
- other (
Self
): The other method.
Returns:
True if both methods are the different and False otherwise.