Decimal
:_divideOperationByDynamicIntImpl2
: fix operation with therms of different signals (-/+
or+/-
).
-
sdk: '>=3.4.0 <4.0.0'
-
data_serializer: ^1.2.0
-
coverage: ^1.9.0
-
DynamicNumber
:- Added
sin
andcos
.
- Added
-
test: ^1.25.8
-
coverage: ^1.8.0
-
sdk: '>=3.3.0 <4.0.0'
-
intl: ^0.19.0
-
collection: ^1.18.0
-
data_serializer: ^1.1.0
-
lints: ^3.0.0
-
test: ^1.25.2
-
coverage: ^1.7.2
-
Fix:
IterableNumExtension.standardDeviation
.IterableDoubleExtension.standardDeviation
.DecimalOnIterableDecimalExtension.standardDeviation
.DynamicIntOnIterableDynamicNumberExtension.standardDeviation
.
-
sdk: '>=2.14.0 <4.0.0'
-
intl: ^0.18.1
-
dependency_validator: ^3.2.3
Decimal
:- Added
withMaximumPrecision
,withMinimumPrecision
andclipPrecision
.
- Added
- collection: ^1.17.0
- test: ^1.24.0
- coverage: ^1.6.3
- intl: ^0.18.0
- lints: ^2.0.1
- test: ^1.22.1
- coverage: ^1.6.1
DynamicNumber
,DynamicInt
,Decimal
:- Added
isWholeNumber
,isOdd
,isEven
.
- Added
- Added prime numbers support:
PrimeUtils
,PrimeIntExtension
,PrimeDynamicNumberExtension
,PrimeDecimalExtension
,PrimeDynamicIntExtension
.
- Added extension
NumericTypeExtension
:- Methods:
isNumericType
,isNumericOrDynamicNumberType
,isDynamicNumberType
.
- Methods:
- Added extension
NumericTypeExtension
:- Methods:
isNumericValue
,isNumericOrDynamicNumberValue
,isDynamicNumberValue
,whenNull
.
- Methods:
- Added
StandardDeviationComputer
:StandardDeviationComputerNum
StandardDeviationComputerBigInt
StandardDeviationComputerDynamicNumber
- Fix standard deviation online calculation.
- sdk: '>=2.14.0 <3.0.0'
- collection: ^1.16.0
- lints: ^2.0.0
- test: ^1.21.4
- dependency_validator: ^3.2.2
- coverage: ^1.2.0
- Added
Decimal.tryParse
andDynamicInt.tryParse
.
- Added High-Precision Arithmetic:
DynamicInt
andDecimal
. - Added benchmark tools.
- Added browser tests to CI.
- Fixed some tests for browser.
- New
CountTable
. BayesianNetwork
andBayesEventMonitor
:- Significant performance improvement for high number of variables and dependencies.
- Allow variables nodes with multiple root paths.
Pair
:- Added
hashCode
cache.
- Added
generateCombinations
:- Added parameter
validator
.
- Added parameter
- Improved
Chronometer
:- New field
totalOperation
and methodtimeToComplete
. - Added time marks.
- Better
toString
:- Changed parameter
withTime
towithStartTime
.
- Changed parameter
- New field
Duration
extension:toStringUnit
:- New parameter
decimal
. - Better output for
zero
Duration
.
- New parameter
- Added
toStringDifference
String
extension- Added
headEqualsLength
,tailEqualsLength
,headEquals
,tailDifferent
.
- Added
ListExtension
:- Added
equalsElements
,removeAll
,retainAll
,toDistinctList
,shuffleCopy
,randomSelection
.
- Added
SetExtension
:- Added
copy
,equalsElements
.
- Added
IterableExtension
:- Added
copy
,asList
,asSet
,whereIn
,whereNotIn
,equalsElements
,computeHashcode
.
- Added
MapEntryExtension
:- Added
copy
,equals
,toPair
.
- Added
MapExtension
:- Added
copy
.
- Added
- New type
Pair
. - New
EventForecaster
framework. BayesianNetwork
:- New method
addDependency
. - Now allows probability dependency between variables.
- Added test with
XOR
.
- New method
BayesEventMonitor
:- Now allows out-of-order events from the Bayesian Network topology.
- New
CombinationCache
and functiongenerateCombinations
. - coverage: ^1.0.4
ListComparablesExtension
changed toIterableComparablesExtension
.- New
IterableUint8ListExtension
,ListAnswerExtension
andListOfListAnswer
.
Variable
node optimization:ancestors
,rootNodes
,rootChain
,rootChain
.
VariableElimination
:- Optimize resolution of nodes needed to answer a query.
- Improved
BayesianNetwork
.- Optimized parsing and building of network.
- Added
EventMonitor
to help to build aBayesianNetwork
and probabilities. - Improved documentation.
- Fix some typos.
- Added
BayesianNetwork
.
- Added
parseBigInt
. - Moved some extension methods to package
data_serializer
. - Moved
StatisticsPlatform
to packagedata_serializer
asDataSerializerPlatform
. - Exporting
data_serializer ^1.0.3
- Improved performance:
toUint8List32Reversed
andreverseBytes
. - Added
BigInt.thousands
.
- Optimize
Statistics
to allow computation of big numbers without overflow issues.
- Added extensions:
String:
encodeLatin1,
encodeUTF8,
truncate`.Uint8List
:copyAsUnmodifiable
,asUnmodifiableView
,toStringLatin1/bytes
,toStringUTF8/bytes
,setUint8/16/32/64
,setInt8/16/32/64
.List<int>
:toUint8List
,asUint8List
,compareWith
.int
:isSafeInteger
,checkSafeInteger
,int16/32/64ToBytes
,uInt16/32/64ToBytes
.BigInt
:isSafeInteger
,checkSafeInteger
.
- Improved documentation.
- Fix typo: renamed extension with
UInt
toUint
to follow Dart style.
- Added extensions:
DateTime.elapsedTime
.int
:bits/8/16/32/64
,toUint8List32Reversed
,toUint8List64Reversed
.Uint8List
:bits/8/16/32/64
.
Chronometer.toString
: added parameterwithTime
.- Added
StatisticsPlatform
to ensure safeint
serialization in any Dart platform. double
extension: addedtoPercentage
.int
extension: addedtoBigInt
,toUint8List32
,toUint8List64
,toHex32
,toHex64
,toStringPadded
.- Added extension for
BigInt
andUint8List
. - Added numeric extension for
String
. - Migrated code coverage to use package
coverage
. - base_codecs: ^1.0.1
- coverage: ^1.0.3
Chronometer.elapsedTimeMs
: now returns the elapsed time even if not stopped.
Statistics
:- Added
medianHigh
,medianLow
andmedian
.- Change constructor: required
medianHigh
.
- Change constructor: required
center
points tomedianHigh
.
- Added
NumExtension
:- Added:
num.cast
.
- Added:
- New metric tools:
UnitLength
andUnitLengthExtension
.
- Added:
parseDateTime
.DateTimeExtension
:formatToYMD
,formatToYMDHm
,formatToYMDHms
,formatToYMDHmZ
andformatToYMDHmsZ
.
MapExtension
:equalsKeysValues
.
ListMapExtension
:sortByKey
.
IterableMapExtension
:sortedByKey
.
DoubleExtension
:truncateDecimals
.
- Optimize:
- Optimize
splitColumns
withacceptsQuotedValues
.
- Optimize
- Improved API Documentation.
- New extension methods:
head
,tail
andsublistReversed
.searchInsertSortedIndex
andbinarySearchPoint
.resampleByIndex
andresampleByValue
.
- Changed from package
pedantic
(deprecated) tolints
. - lints: ^1.0.1
- Improve extensions.
- generateCSV:
- Added
commaAsDecimalSeparator
anddecimalPrecision
.
- Added
- Added:
DoubleEquality
,IntEquality
andNumEquality
.
- Improve unit tests and coverage up to 98%.
- Improve example.
- Improve
README.md
.
extension
forint
,double
andnum
collections.- Initial version.