2020-08-10 22:39:01 +03:00
|
|
|
# KMath
|
|
|
|
|
2020-08-10 22:36:08 +03:00
|
|
|
## [Unreleased]
|
2020-09-14 22:48:02 +03:00
|
|
|
### Added
|
2020-09-21 14:49:02 +03:00
|
|
|
- `fun` annotation for SAM interfaces in library
|
|
|
|
- Explicit `public` visibility for all public APIs
|
2021-01-19 16:25:26 +03:00
|
|
|
- Better trigonometric and hyperbolic functions for `AutoDiffField` (https://github.com/mipt-npm/kmath/pull/140)
|
2020-09-27 11:13:30 +03:00
|
|
|
- Automatic README generation for features (#139)
|
2020-09-27 20:09:46 +03:00
|
|
|
- Native support for `memory`, `core` and `dimensions`
|
2021-01-19 16:25:26 +03:00
|
|
|
- `kmath-ejml` to supply EJML SimpleMatrix wrapper (https://github.com/mipt-npm/kmath/pull/136)
|
2020-10-24 20:33:19 +03:00
|
|
|
- A separate `Symbol` entity, which is used for global unbound symbol.
|
|
|
|
- A `Symbol` indexing scope.
|
|
|
|
- Basic optimization API for Commons-math.
|
2020-10-26 10:01:30 +03:00
|
|
|
- Chi squared optimization for array-like data in CM
|
2020-10-28 09:16:21 +03:00
|
|
|
- `Fitting` utility object in prob/stat
|
2021-01-19 16:25:26 +03:00
|
|
|
- ND4J support module submitting `NDStructure` and `NDAlgebra` over `INDArray`
|
|
|
|
- Coroutine-deterministic Monte-Carlo scope with a random number generator
|
|
|
|
- Some minor utilities to `kmath-for-real`
|
2020-12-01 21:21:56 +03:00
|
|
|
- Generic operation result parameter to `MatrixContext`
|
2021-01-19 16:25:26 +03:00
|
|
|
- New `MatrixFeature` interfaces for matrix decompositions
|
2020-09-14 22:48:02 +03:00
|
|
|
|
|
|
|
### Changed
|
2021-01-19 16:25:26 +03:00
|
|
|
- Package changed from `scientifik` to `kscience.kmath`
|
|
|
|
- Gradle version: 6.6 -> 6.8
|
2020-09-21 14:49:02 +03:00
|
|
|
- Minor exceptions refactor (throwing `IllegalArgumentException` by argument checks instead of `IllegalStateException`)
|
2021-01-19 16:25:26 +03:00
|
|
|
- `Polynomial` secondary constructor made function
|
|
|
|
- Kotlin version: 1.3.72 -> 1.4.21
|
|
|
|
- `kmath-ast` doesn't depend on heavy `kotlin-reflect` library
|
2020-10-24 20:33:19 +03:00
|
|
|
- Full autodiff refactoring based on `Symbol`
|
2020-10-28 09:16:21 +03:00
|
|
|
- `kmath-prob` renamed to `kmath-stat`
|
2020-11-28 18:43:35 +03:00
|
|
|
- Grid generators moved to `kmath-for-real`
|
2020-11-29 13:32:20 +03:00
|
|
|
- Use `Point<Double>` instead of specialized type in `kmath-for-real`
|
2020-11-29 21:38:12 +03:00
|
|
|
- Optimized dot product for buffer matrices moved to `kmath-for-real`
|
|
|
|
- EjmlMatrix context is an object
|
2021-01-24 18:12:43 +03:00
|
|
|
- Matrix LUP `inverse` renamed to `inverseWithLup`
|
2021-01-19 17:16:43 +03:00
|
|
|
- `NumericAlgebra` moved outside of regular algebra chain (`Ring` no longer implements it).
|
2021-01-19 19:32:13 +03:00
|
|
|
- Features moved to NDStructure and became transparent.
|
2021-01-24 18:30:52 +03:00
|
|
|
- Capitalization of LUP in many names changed to Lup.
|
2021-01-22 23:22:24 +03:00
|
|
|
- Refactored `NDStructure` algebra to be more simple, preferring under-the-hood conversion to explicit NDStructure types
|
2020-09-14 22:48:02 +03:00
|
|
|
|
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
### Removed
|
2020-09-21 14:49:02 +03:00
|
|
|
- `kmath-koma` module because it doesn't support Kotlin 1.4.
|
2020-09-27 20:09:46 +03:00
|
|
|
- Support of `legacy` JS backend (we will support only IR)
|
2020-11-28 18:43:35 +03:00
|
|
|
- `toGrid` method.
|
2020-12-01 21:21:56 +03:00
|
|
|
- Public visibility of `BufferAccessor2D`
|
2020-09-14 22:48:02 +03:00
|
|
|
|
|
|
|
### Fixed
|
2020-09-20 16:59:21 +03:00
|
|
|
- `symbol` method in `MstExtendedField` (https://github.com/mipt-npm/kmath/pull/140)
|
2020-09-14 22:48:02 +03:00
|
|
|
|
|
|
|
### Security
|
2020-09-20 22:41:33 +03:00
|
|
|
|
2020-09-14 22:48:02 +03:00
|
|
|
## [0.1.4]
|
2020-08-10 22:36:08 +03:00
|
|
|
|
|
|
|
### 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` where `number` 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` and `averageWith`
|
|
|
|
- Local coding conventions
|
|
|
|
- Geometric Domains API in `kmath-core`
|
|
|
|
- Blocking chains in `kmath-coroutines`
|
2020-08-15 13:00:17 +03:00
|
|
|
- Full hyperbolic functions support and default implementations within `ExtendedField`
|
|
|
|
- Norm support for `Complex`
|
2020-08-10 22:36:08 +03:00
|
|
|
|
|
|
|
### Changed
|
2020-08-21 22:42:59 +03:00
|
|
|
- `readAsMemory` now has `throws IOException` in JVM signature.
|
|
|
|
- Several functions taking functional types were made `inline`.
|
|
|
|
- Several functions taking functional types now have `callsInPlace` contracts.
|
2020-08-10 22:36:08 +03:00
|
|
|
- BigInteger and BigDecimal algebra: JBigDecimalField has companion object with default math context; minor optimizations
|
|
|
|
- `power(T, Int)` extension function has preconditions and supports `Field<T>`
|
|
|
|
- Memory objects have more preconditions (overflow checking)
|
|
|
|
- `tg` function is renamed to `tan` (https://github.com/mipt-npm/kmath/pull/114)
|
2020-08-21 22:42:59 +03:00
|
|
|
- Gradle version: 6.3 -> 6.6
|
2020-08-15 13:00:17 +03:00
|
|
|
- Moved probability distributions to commons-rng and to `kmath-prob`
|
2020-08-10 22:36:08 +03:00
|
|
|
|
|
|
|
### 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)
|
2020-08-15 13:00:17 +03:00
|
|
|
- Multiplication of BigInt by scalar
|