v1.0.29
Bug Fixes:
Towel.Mathematics.Symbolics.Parse<T>(...)
bug fix while parsing operations such as"squareroot(5)"
RedBlackTreeLinked<T, TCompare>.GetEnumerator()
fixed bug when tree is empty
Changes:
- renamed
Compare<TSift>(...)
toCompareSift<TSift>(...)
on bothISortedBinaryTree<T>
to avoid naming collisions - renamed
Contains<TSift>(...)
toContainsSift<TSift>(...)
on bothISortedBinaryTree<T>
to avoid naming collisions - renamed
TryRemove<TSift>(...)
toTryRemoveSift<TSift>(...)
on bothISortedBinaryTree<T>
to avoid naming collisions - changed
IAddable<T>
methodbool TryAdd(T, out Exception)
to(bool, Exception?) TryAdd(T)
- extension methods also adjusted
- changed
IRemovable<T>
methodbool TryRemove(T, out Exception)
to(bool, Exception?) TryRemove(T)
- extension methods also adjusted
- removed
StepperRef
andStepperRefBreak
methods- this is better handled by
IFunc<T, (T, StepStatus)>
than a custom method signature withref
parameters. I will likely add new methods calledMutate
as a replacement in the future, but for now I just removed them. Here is a benchmark that influenced this descision: https://github.com/asc-community/dotnet-benchmarks/tree/master/Benchmarks/IterationRefParametersVsReturns.
- this is better handled by
- added
T[] ToArray()
toIDataStructure<T>
(mainly forinheritdoc
) - added
ICloneable<T>
(mainly forinheritdoc
)- there appears to be a bug in roslyn regarding this: dotnet/roslyn#54069
- exposed
Bound<T>
Exists
andValue
getters