forked from kscience/kmath
Alexander Nozik
5032523bbf
# Conflicts: # build.gradle.kts # examples/src/main/kotlin/scientifik/kmath/linear/LinearAlgebraBenchmark.kt # kmath-ast/build.gradle.kts # kmath-ast/src/commonMain/kotlin/scientifik/kmath/ast/MstAlgebra.kt # kmath-commons/build.gradle.kts # kmath-core/src/commonMain/kotlin/scientifik/kmath/misc/AutoDiff.kt # kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Complex.kt # kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/Buffers.kt # kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/FlaggedBuffer.kt # kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/IntBuffer.kt # kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/RealBuffer.kt # kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/ShortBuffer.kt # kmath-for-real/build.gradle.kts # kmath-functions/build.gradle.kts # kmath-memory/build.gradle.kts # kmath-prob/build.gradle.kts
2.3 KiB
2.3 KiB
KMath
[Unreleased]
Added
- Better trigonometric and hyperbolic functions for
AutoDiffField
(https://github.com/mipt-npm/kmath/pull/140).
Changed
Deprecated
Removed
Fixed
symbol
method inMstExtendedField
(https://github.com/mipt-npm/kmath/pull/140)
Security
[0.1.4]
Added
- Functional Expressions API
- Mathematical Syntax Tree, its interpreter and API
- String to MST parser (https://github.com/mipt-npm/kmath/pull/120)
- MST to JVM bytecode translator (https://github.com/mipt-npm/kmath/pull/94)
- FloatBuffer (specialized MutableBuffer over FloatArray)
- FlaggedBuffer to associate primitive numbers buffer with flags (to mark values infinite or missing, etc.)
- Specialized builder functions for all primitive buffers like
IntBuffer(25) { it + 1 }
(https://github.com/mipt-npm/kmath/pull/125) - Interface
NumericAlgebra
wherenumber
operation is available to convert numbers to algebraic elements - Inverse trigonometric functions support in ExtendedField (
asin
,acos
,atan
) (https://github.com/mipt-npm/kmath/pull/114) - New space extensions:
average
andaverageWith
- Local coding conventions
- Geometric Domains API in
kmath-core
- Blocking chains in
kmath-coroutines
- Full hyperbolic functions support and default implementations within
ExtendedField
- Norm support for
Complex
Changed
readAsMemory
now hasthrows IOException
in JVM signature.- Several functions taking functional types were made
inline
. - Several functions taking functional types now have
callsInPlace
contracts. - BigInteger and BigDecimal algebra: JBigDecimalField has companion object with default math context; minor optimizations
power(T, Int)
extension function has preconditions and supportsField<T>
- Memory objects have more preconditions (overflow checking)
tg
function is renamed totan
(https://github.com/mipt-npm/kmath/pull/114)- Gradle version: 6.3 -> 6.6.1
- Moved probability distributions to commons-rng and to
kmath-prob
Fixed
- Missing copy method in Memory implementation on JS (https://github.com/mipt-npm/kmath/pull/106)
- D3.dim value in
kmath-dimensions
- Multiplication in integer rings in
kmath-core
(https://github.com/mipt-npm/kmath/pull/101) - Commons RNG compatibility (https://github.com/mipt-npm/kmath/issues/93)
- Multiplication of BigInt by scalar