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
|
2021-03-08 21:03:48 +03:00
|
|
|
- ScaleOperations interface
|
2021-03-10 18:02:04 +03:00
|
|
|
- Field extends ScaleOperations
|
2021-03-16 20:56:20 +03:00
|
|
|
- Basic integration API
|
2021-04-01 20:15:49 +03:00
|
|
|
- Basic MPP distributions and samplers
|
2021-04-06 17:17:43 +03:00
|
|
|
- bindSymbolOrNull
|
2021-04-14 23:26:21 +03:00
|
|
|
- Blocking chains and Statistics
|
|
|
|
- Multiplatform integration
|
2021-04-16 15:50:33 +03:00
|
|
|
- Integration for any Field element
|
2021-04-28 14:03:28 +03:00
|
|
|
- Extended operations for ND4J fields
|
2021-03-31 15:39:34 +03:00
|
|
|
- Jupyter Notebook integration module (kmath-jupyter)
|
2021-02-21 16:17:57 +03:00
|
|
|
|
|
|
|
### Changed
|
2021-03-08 21:03:48 +03:00
|
|
|
- Exponential operations merged with hyperbolic functions
|
2021-03-10 22:09:19 +03:00
|
|
|
- Space is replaced by Group. Space is reserved for vector spaces.
|
2021-03-11 11:28:10 +03:00
|
|
|
- VectorSpace is now a vector space
|
2021-03-15 14:26:17 +03:00
|
|
|
- Buffer factories for primitives moved to MutableBuffer.Companion
|
2021-03-16 20:56:20 +03:00
|
|
|
- NDStructure and NDAlgebra to StructureND and AlgebraND respectively
|
2021-03-16 21:17:26 +03:00
|
|
|
- Real -> Double
|
2021-03-19 14:53:14 +03:00
|
|
|
- DataSets are moved from functions to core
|
2021-04-01 20:15:49 +03:00
|
|
|
- Redesign advanced Chain API
|
|
|
|
- Redesign MST. Remove MSTExpression.
|
2021-04-14 12:40:26 +03:00
|
|
|
- Move MST to core
|
2021-04-16 22:43:10 +03:00
|
|
|
- Separated benchmarks and examples
|
2021-04-28 14:03:28 +03:00
|
|
|
- Rewritten EJML module without ejml-simple
|
2021-05-09 12:40:10 +03:00
|
|
|
- Stability of kmath-ast and kmath-kotilngrad promoted to EXPERIMENTAL.
|
2021-02-21 16:17:57 +03:00
|
|
|
|
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
### Removed
|
2021-03-08 21:03:48 +03:00
|
|
|
- Nearest in Domain. To be implemented in geometry package.
|
|
|
|
- Number multiplication and division in main Algebra chain
|
2021-03-16 22:46:22 +03:00
|
|
|
- `contentEquals` from Buffer. It moved to the companion.
|
2021-04-01 20:15:49 +03:00
|
|
|
- MSTExpression
|
2021-04-21 12:48:11 +03:00
|
|
|
- Expression algebra builders
|
2021-05-09 12:40:10 +03:00
|
|
|
- Complex and Quaternion no longer are elements.
|
2021-02-21 16:17:57 +03:00
|
|
|
|
|
|
|
### Fixed
|
2021-04-14 23:26:21 +03:00
|
|
|
- Ring inherits RingOperations, not GroupOperations
|
2021-02-21 16:17:57 +03:00
|
|
|
|
|
|
|
### Security
|
|
|
|
|
|
|
|
## [0.2.0]
|
|
|
|
### 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
|
2021-01-19 21:10:31 +03:00
|
|
|
- Basic Quaternion vector support in `kmath-complex`.
|
2020-09-21 14:49:02 +03:00
|
|
|
|
2020-09-14 22:48:02 +03:00
|
|
|
### Changed
|
2021-02-18 11:17:28 +03:00
|
|
|
- Package changed from `scientifik` to `space.kscience`
|
|
|
|
- Gradle version: 6.6 -> 6.8.2
|
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
|
2021-02-18 11:17:28 +03:00
|
|
|
- Kotlin version: 1.3.72 -> 1.4.30
|
2021-01-19 16:25:26 +03:00
|
|
|
- `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
|
2021-01-30 11:24:34 +03:00
|
|
|
- Refactor histograms. They are marked as prototype
|
2021-01-19 16:17:53 +03:00
|
|
|
- `Complex` and related features moved to a separate module `kmath-complex`
|
2021-02-04 11:00:08 +03:00
|
|
|
- Refactor AlgebraElement
|
2021-02-18 11:17:28 +03:00
|
|
|
- `symbol` method in `Algebra` renamed to `bindSymbol` to avoid ambiguity
|
2021-02-12 22:43:35 +03:00
|
|
|
- Add `out` projection to `Buffer` generic
|
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`
|
2021-02-04 11:00:08 +03:00
|
|
|
- `Real` class
|
2021-03-16 21:43:29 +03:00
|
|
|
- StructureND identity and equals
|
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-20 22:41:33 +03:00
|
|
|
|
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-09-21 14:49:02 +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
|