kmath/CHANGELOG.md

156 lines
6.9 KiB
Markdown
Raw Normal View History

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
- `ScaleOperations` interface
- `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
- `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
- Extended operations for ND4J fields
2021-03-31 15:39:34 +03:00
- Jupyter Notebook integration module (kmath-jupyter)
- `@PerformancePitfall` annotation to mark possibly slow API
2021-06-08 14:27:45 +03:00
- Unified architecture for Integration and Optimization using features.
- `BigInt` operation performance improvement and fixes by @zhelenskiy (#328)
- Integration between `MST` and Symja `IExpr`
2021-02-21 16:17:57 +03:00
### Changed
- 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
- Rename `NDStructure` and `NDAlgebra` to `StructureND` and `AlgebraND` respectively
- `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`.
- Move `MST` to core
2021-04-16 22:43:10 +03:00
- Separated benchmarks and examples
- Rewrite `kmath-ejml` without `ejml-simple` artifact, support sparse matrices
- Promote stability of kmath-ast and kmath-kotlingrad to EXPERIMENTAL.
2021-05-14 12:42:27 +03:00
- ColumnarData returns nullable column
- `MST` is made sealed interface
- Replace `MST.Symbolic` by `Symbol`, `Symbol` now implements MST
- Remove Any restriction on polynomials
- Add `out` variance to type parameters of `StructureND` and its implementations where possible
- Rename `DifferentiableMstExpression` to `KotlingradExpression`
2021-06-08 14:27:45 +03:00
- `FeatureSet` now accepts only `Feature`. It is possible to override keys and use interfaces.
- Use `Symbol` factory function instead of `StringSymbol`
2021-02-21 16:17:57 +03:00
### Deprecated
2021-07-09 14:11:26 +03:00
- Specialized `DoubleBufferAlgebra`
2021-02-21 16:17:57 +03:00
### Removed
- 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
- Complex and Quaternion no longer are elements.
- Second generic from DifferentiableExpression
2021-02-21 16:17:57 +03:00
### Fixed
2021-04-14 23:26:21 +03:00
- Ring inherits RingOperations, not GroupOperations
2021-06-15 13:45:08 +03:00
- Univariate histogram filling
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)
- 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
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
- 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
- Full autodiff refactoring based on `Symbol`
2020-10-28 09:16:21 +03:00
- `kmath-prob` renamed to `kmath-stat`
- 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
- Matrix LUP `inverse` renamed to `inverseWithLup`
- `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)
- `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
- `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