num_utilities library

A collection of extension methods on and related to nums, ints, and doubles.

Classes

Range<T extends num>
A range of numbers between defined minimum and maximum values.

Extensions

DoubleUtilities on double
Extends double with additional basic methods.
IterableMathDouble on Iterable<double>
Extends Iterable<double> with additional basic methods.
IterableMathDoubleNullable on Iterable<double?>
IterableMathInt on Iterable<int>
Extends Iterable<int> with additional basic methods.
IterableMathIntNullable on Iterable<int?>
Extends Iterable<int> with additional basic methods.
IterableMathNum on Iterable<num>
Extends Iterable<num> with additional basic methods.
IterableMathNumNullable on Iterable<num?>
Extends Iterable<num> with additional basic methods.
NumUtilities on num
Extends num with additional basic methods.
RandomSign on Random

Exceptions / Errors

InvalidExpressionError
An error thrown when an invalid expression is provided to the isWithin extension method.