forked from kscience/kmath
3.4 KiB
3.4 KiB
KMath
[Unreleased]
Added
fun
annotation for SAM interfaces in library- Explicit
public
visibility for all public APIs - Better trigonometric and hyperbolic functions for
AutoDiffField
(https://github.com/mipt-npm/kmath/pull/140). - Automatic README generation for features (#139)
- Native support for
memory
,core
anddimensions
kmath-ejml
to supply EJML SimpleMatrix wrapper.- A separate
Symbol
entity, which is used for global unbound symbol. - A
Symbol
indexing scope. - Basic optimization API for Commons-math.
- Chi squared optimization for array-like data in CM
Fitting
utility object in prob/stat
Changed
- Package changed from
scientifik
tokscience.kmath
. - Gradle version: 6.6 -> 6.6.1
- Minor exceptions refactor (throwing
IllegalArgumentException
by argument checks instead ofIllegalStateException
) Polynomial
secondary constructor made function.- Kotlin version: 1.3.72 -> 1.4.20-M1
kmath-ast
doesn't depend on heavykotlin-reflect
library.- Full autodiff refactoring based on
Symbol
kmath-prob
renamed tokmath-stat
Deprecated
Removed
kmath-koma
module because it doesn't support Kotlin 1.4.- Support of
legacy
JS backend (we will support only IR)
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
- 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