- Updated dependencies. Min. Dart version is now 3.0.0.
- Updated dev_dependencies.
- Updated extension
NumOperators
.
- Made extension
NumIterableMethods
generic. Removed redundant extensions forint
anddouble
.
- Added operators for
List<int>
andList<double>
. - Renamed
equalWithinPrecision
->match
.
- Extended the function
distance
to work for Spherical and Cylindrical as well as Cartesian coordinates.
- Added the getters
cartesianToCylindrical
andcylindricalToCartesian
as extension methods onList<num>
andList<List<num>>
.
- Amended docs
- Added the getters
cartesianToSpherical
andsphericalToCartesian
as extension methods onList<num>
andList<List<num>>
.
- Renamed method
toInt()
->toListofInt()
. - Renamed method
toDouble()
->toListOfDouble()
.
- Converted method
unmodifiable()
to getterunmodifiable
. Applies to extensions onList<T>
andList<List<T>>
. - Renamed methods starting with
assert
tomustHave
in order to avoid confusion with actual asserts.
- Renamed matcher function
isCloseTo
->closeToList
. - Renamed matcher
CloseTo
->CloseToList
.
- Updated docs.
- Updated dependencies.
- Renamed matcher
orderedCloseTo
->isCloseTo
. - Extended documentation.
- Renamed method
innerProduct
->innerProd
. - Made method
innerProd
available forList<int>
Added the list method match
. Two lists are considered matching if their entries match
in sequential order.
- Amended docs.
- Made methods
min()
,max()
,prod()
available for objects of typeIterable<num>
.
Added method prod()
returning the product of all entries.
Made method sum()
available for object of type Iterable<T extends num>
.
Added method sum()
.
Added method exp()
to extension NumOperators
.
Library list_operators
now exports assertions.dart
.
Migrated CI to github.
- Added custom matcher
orderedCloseTo
for matching numerical list within a certain precision. - Amended numerical list operators to emulate the greediness of
numerical operations involving the type
double
. - Added tests to
num_operators_test.dart
.
- Switched back to default test suite.
- Added the method
unmodifiable()
defined or object of typeList<List<T>>
and returning an object of typeUnmodifiableListView<UnmodifiableListView<T>>
.
- Corrected bugs in functions
mean()
andstdDev()
. - Added tests.
- Added section 'Limitations' to file
README.md
.
- Added methods
min()
,max()
,mean()
,stdDev()
,abs()
,innerProduct()
, and the unary minus operator.
- Added method
abs()
which is available for objects of typeList<num>
.
- Min. Dart SDK version now 2.12.0-0.
- Removed
lazy_memo
from list of dependencies.
- Amended docs.
- Initial version