list_operators 0.3.9 list_operators: ^0.3.9 copied to clipboard
Extensions providing vector-style operators and methods for Dart lists and iterables.
0.3.9 #
- Extended the function
distance
to work for Spherical and Cylindrical as well as Cartesian coordinates.
0.3.8 #
- Added the getters
cartesianToCylindrical
andcylindricalToCartesian
as extension methods onList<num>
andList<List<num>>
.
0.3.7 #
- Amended docs
0.3.6 #
- Added the getters
cartesianToSpherical
andsphericalToCartesian
as extension methods onList<num>
andList<List<num>>
.
0.3.5 #
- Renamed method
toInt()
->toListofInt()
. - Renamed method
toDouble()
->toListOfDouble()
.
0.3.4 #
- 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.
0.3.3 #
- Renamed matcher function
isCloseTo
->closeToList
. - Renamed matcher
CloseTo
->CloseToList
.
0.3.2 #
- Updated docs.
0.3.1 #
- Updated dependencies.
- Renamed matcher
orderedCloseTo
->isCloseTo
. - Extended documentation.
0.3.0 #
- Renamed method
innerProduct
->innerProd
. - Made method
innerProd
available forList<int>
0.2.9 #
Added the list method match
. Two lists are considered matching if their entries match
in sequential order.
0.2.8 #
- Amended docs.
- Made methods
min()
,max()
,prod()
available for objects of typeIterable<num>
.
0.2.7 #
Added method prod()
returning the product of all entries.
0.2.6 #
Made method sum()
available for object of type Iterable<T extends num>
.
0.2.5 #
Added method sum()
.
0.2.4 #
Added method exp()
to extension NumOperators
.
0.2.3 #
Library list_operators
now exports assertions.dart
.
0.2.2 #
Migrated CI to github.
0.2.1 #
- 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
.
0.2.0 #
- Switched back to default test suite.
0.1.5-nullsafety #
- Added the method
unmodifiable()
defined or object of typeList<List<T>>
and returning an object of typeUnmodifiableListView<UnmodifiableListView<T>>
.
0.1.4-nullsafety #
- Corrected bugs in functions
mean()
andstdDev()
. - Added tests.
0.1.3-nullsafety #
- Added section 'Limitations' to file
README.md
.
0.1.2-nullsafety #
- Added methods
min()
,max()
,mean()
,stdDev()
,abs()
,innerProduct()
, and the unary minus operator.
0.1.1-nullsafety #
- Added method
abs()
which is available for objects of typeList<num>
.
0.1.0-nullsafety #
- Min. Dart SDK version now 2.12.0-0.
0.0.3-nullsafety #
- Removed
lazy_memo
from list of dependencies.
0.0.2-nullsafety #
- Amended docs.
0.0.1-nullsafety #
- Initial version