Skip to content

Commit 5bb895a

Browse files
authored
Merge pull request #480 from mipt-npm/dev
0.3.0
2 parents 92ba439 + 358d750 commit 5bb895a

File tree

78 files changed

+2342
-1087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+2342
-1087
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,20 @@ jobs:
1313
runs-on: ${{matrix.os}}
1414
timeout-minutes: 40
1515
steps:
16-
- name: Checkout the repo
17-
uses: actions/checkout@v2
18-
- name: Set up JDK 11
19-
uses: DeLaGuardo/setup-graalvm@4.0
16+
- uses: actions/checkout@v3.0.0
17+
- uses: actions/setup-java@v3.0.0
2018
with:
21-
graalvm: 21.2.0
22-
java: java11
23-
arch: amd64
24-
- name: Cache gradle
25-
uses: actions/cache@v2
26-
with:
27-
path: |
28-
~/.gradle/caches
29-
~/.gradle/wrapper
30-
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
31-
restore-keys: |
32-
${{ runner.os }}-gradle-
19+
java-version: 11
20+
distribution: liberica
3321
- name: Cache konan
34-
uses: actions/cache@v2
22+
uses: actions/cache@v3.0.1
3523
with:
3624
path: ~/.konan
3725
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
3826
restore-keys: |
3927
${{ runner.os }}-gradle-
4028
- name: Gradle Wrapper Validation
4129
uses: gradle/wrapper-validation-action@v1.0.4
42-
- name: Build
43-
run: ./gradlew build --build-cache --no-daemon --stacktrace
30+
- uses: gradle/gradle-build-action@v2.1.5
31+
with:
32+
arguments: build

.github/workflows/pages.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,22 @@ jobs:
99
runs-on: ubuntu-20.04
1010
timeout-minutes: 40
1111
steps:
12-
- uses: actions/checkout@v2
13-
- uses: DeLaGuardo/setup-graalvm@4.0
12+
- uses: actions/checkout@v3.0.0
13+
- uses: actions/setup-java@v3.0.0
1414
with:
15-
graalvm: 21.2.0
16-
java: java11
17-
arch: amd64
18-
- uses: actions/cache@v2
15+
java-version: 11
16+
distribution: liberica
17+
- name: Cache konan
18+
uses: actions/cache@v3.0.1
1919
with:
20-
path: ~/.gradle/caches
20+
path: ~/.konan
2121
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
2222
restore-keys: |
2323
${{ runner.os }}-gradle-
24-
- run: ./gradlew dokkaHtmlMultiModule --build-cache --no-daemon --no-parallel --stacktrace
25-
- uses: JamesIves/github-pages-deploy-action@4.1.0
24+
- uses: gradle/gradle-build-action@v2.1.5
25+
with:
26+
arguments: dokkaHtmlMultiModule --no-parallel
27+
- uses: JamesIves/github-pages-deploy-action@4.2.5
2628
with:
2729
branch: gh-pages
2830
folder: build/dokka/htmlMultiModule

.github/workflows/publish.yml

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,42 +14,36 @@ jobs:
1414
os: [ macOS-latest, windows-latest ]
1515
runs-on: ${{matrix.os}}
1616
steps:
17-
- name: Checkout the repo
18-
uses: actions/checkout@v2
19-
- name: Set up JDK 11
20-
uses: DeLaGuardo/setup-graalvm@4.0
17+
- uses: actions/checkout@v3.0.0
18+
- uses: actions/setup-java@v3.0.0
2119
with:
22-
graalvm: 21.2.0
23-
java: java11
24-
arch: amd64
25-
- name: Cache gradle
26-
uses: actions/cache@v2
27-
with:
28-
path: |
29-
~/.gradle/caches
30-
~/.gradle/wrapper
31-
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
32-
restore-keys: |
33-
${{ runner.os }}-gradle-
20+
java-version: 11
21+
distribution: liberica
3422
- name: Cache konan
35-
uses: actions/cache@v2
23+
uses: actions/cache@v3.0.1
3624
with:
3725
path: ~/.konan
3826
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
3927
restore-keys: |
4028
${{ runner.os }}-gradle-
41-
- name: Gradle Wrapper Validation
42-
uses: gradle/wrapper-validation-action@v1.0.4
29+
- uses: gradle/wrapper-validation-action@v1.0.4
4330
- name: Publish Windows Artifacts
4431
if: matrix.os == 'windows-latest'
45-
shell: cmd
46-
run: >
47-
./gradlew release --no-daemon --build-cache -Ppublishing.enabled=true
48-
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
49-
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}
32+
uses: gradle/gradle-build-action@v2.1.5
33+
with:
34+
arguments: |
35+
releaseAll
36+
-Ppublishing.enabled=true
37+
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
38+
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}
5039
- name: Publish Mac Artifacts
5140
if: matrix.os == 'macOS-latest'
52-
run: >
53-
./gradlew release --no-daemon --build-cache -Ppublishing.enabled=true -Ppublishing.platform=macosX64
54-
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
55-
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}
41+
uses: gradle/gradle-build-action@v2.1.5
42+
with:
43+
arguments: |
44+
releaseMacosX64
45+
releaseIosArm64
46+
releaseIosX64
47+
-Ppublishing.enabled=true
48+
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }}
49+
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }}

CHANGELOG.md

Lines changed: 31 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
## [Unreleased]
44
### Added
5+
6+
### Changed
7+
8+
### Deprecated
9+
10+
### Removed
11+
12+
### Fixed
13+
14+
### Security
15+
16+
## [0.3.0]
17+
### Added
518
- `ScaleOperations` interface
619
- `Field` extends `ScaleOperations`
720
- Basic integration API
@@ -19,6 +32,12 @@
1932
- Complex power
2033
- Separate methods for UInt, Int and Number powers. NaN safety.
2134
- Tensorflow prototype
35+
- `ValueAndErrorField`
36+
- MST compilation to WASM: #286
37+
- Jafama integration: #176
38+
- `contentEquals` with tolerance: #364
39+
- Compilation to TeX for MST: #254
40+
2241

2342
### Changed
2443
- Exponential operations merged with hyperbolic functions
@@ -48,10 +67,15 @@
4867
- Operations -> Ops
4968
- Default Buffer and ND algebras are now Ops and lack neutral elements (0, 1) as well as algebra-level shapes.
5069
- Tensor algebra takes read-only structures as input and inherits AlgebraND
70+
- `UnivariateDistribution` renamed to `Distribution1D`
71+
- Rework of histograms.
72+
- `UnivariateFunction` -> `Function1D`, `MultivariateFunction` -> `FunctionND`
73+
5174

5275
### Deprecated
5376
- Specialized `DoubleBufferAlgebra`
5477

78+
5579
### Removed
5680
- Nearest in Domain. To be implemented in geometry package.
5781
- Number multiplication and division in main Algebra chain
@@ -62,10 +86,12 @@
6286
- Second generic from DifferentiableExpression
6387
- Algebra elements are completely removed. Use algebra contexts instead.
6488

89+
6590
### Fixed
6691
- Ring inherits RingOperations, not GroupOperations
6792
- Univariate histogram filling
6893

94+
6995
### Security
7096

7197
## [0.2.0]
@@ -88,6 +114,7 @@
88114
- New `MatrixFeature` interfaces for matrix decompositions
89115
- Basic Quaternion vector support in `kmath-complex`.
90116

117+
91118
### Changed
92119
- Package changed from `scientifik` to `space.kscience`
93120
- Gradle version: 6.6 -> 6.8.2
@@ -112,7 +139,6 @@
112139
- `symbol` method in `Algebra` renamed to `bindSymbol` to avoid ambiguity
113140
- Add `out` projection to `Buffer` generic
114141

115-
### Deprecated
116142

117143
### Removed
118144
- `kmath-koma` module because it doesn't support Kotlin 1.4.
@@ -122,13 +148,11 @@
122148
- `Real` class
123149
- StructureND identity and equals
124150

151+
125152
### Fixed
126153
- `symbol` method in `MstExtendedField` (https://github.com/mipt-npm/kmath/pull/140)
127154

128-
### Security
129-
130155
## [0.1.4]
131-
132156
### Added
133157
- Functional Expressions API
134158
- Mathematical Syntax Tree, its interpreter and API
@@ -146,6 +170,7 @@
146170
- Full hyperbolic functions support and default implementations within `ExtendedField`
147171
- Norm support for `Complex`
148172

173+
149174
### Changed
150175
- `readAsMemory` now has `throws IOException` in JVM signature.
151176
- Several functions taking functional types were made `inline`.
@@ -157,9 +182,10 @@
157182
- Gradle version: 6.3 -> 6.6
158183
- Moved probability distributions to commons-rng and to `kmath-prob`
159184

185+
160186
### Fixed
161187
- Missing copy method in Memory implementation on JS (https://github.com/mipt-npm/kmath/pull/106)
162188
- D3.dim value in `kmath-dimensions`
163189
- Multiplication in integer rings in `kmath-core` (https://github.com/mipt-npm/kmath/pull/101)
164190
- Commons RNG compatibility (https://github.com/mipt-npm/kmath/issues/93)
165-
- Multiplication of BigInt by scalar
191+
- Multiplication of BigInt by scalar

0 commit comments

Comments
 (0)