Skip to content

Commit 2d946b1

Browse files
authored
Merge pull request #194 from mipt-npm/dev
Dev
2 parents 78fa877 + d10ae66 commit 2d946b1

File tree

344 files changed

+12954
-7712
lines changed

Some content is hidden

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

344 files changed

+12954
-7712
lines changed

.github/workflows/gradle.yml

Lines changed: 94 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,101 @@
11
name: Gradle build
22

3-
on: [push]
3+
on: [ push ]
44

55
jobs:
6-
build:
6+
build-ubuntu:
7+
runs-on: ubuntu-20.04
78

8-
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up JDK 11
12+
uses: actions/setup-java@v1
13+
with:
14+
java-version: 11
15+
- name: Install Chrome
16+
run: |
17+
sudo apt install -y libappindicator1 fonts-liberation
18+
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
19+
sudo dpkg -i google-chrome*.deb
20+
- name: Cache gradle
21+
uses: actions/cache@v2
22+
with:
23+
path: |
24+
.gradle
25+
build
26+
~/.gradle
27+
key: gradle
28+
restore-keys: gradle
29+
30+
- name: Cache konan
31+
uses: actions/cache@v2
32+
with:
33+
path: |
34+
~/.konan/dependencies
35+
~/.konan/kotlin-native-prebuilt-linux-*
36+
key: ${{ runner.os }}-konan
37+
restore-keys: ${{ runner.os }}-konan
38+
- name: Build with Gradle
39+
run: ./gradlew -Dorg.gradle.daemon=false --build-cache build
40+
41+
build-osx:
42+
runs-on: macos-latest
43+
44+
steps:
45+
- uses: actions/checkout@v2
46+
- name: Set up JDK 11
47+
uses: actions/setup-java@v1
48+
with:
49+
java-version: 11
50+
- name: Cache gradle
51+
uses: actions/cache@v2
52+
with:
53+
path: |
54+
.gradle
55+
build
56+
~/.gradle
57+
key: gradle
58+
restore-keys: gradle
59+
60+
- name: Cache konan
61+
uses: actions/cache@v2
62+
with:
63+
path: |
64+
~/.konan/dependencies
65+
~/.konan/kotlin-native-prebuilt-macos-*
66+
key: ${{ runner.os }}-konan
67+
restore-keys: ${{ runner.os }}-konan
68+
- name: Build with Gradle
69+
run: sudo ./gradlew -Dorg.gradle.daemon=false --build-cache build
70+
71+
build-windows:
72+
runs-on: windows-latest
973

1074
steps:
11-
- uses: actions/checkout@v1
12-
- name: Set up JDK 11
13-
uses: actions/setup-java@v1
14-
with:
15-
java-version: 11
16-
- name: Build with Gradle
17-
run: ./gradlew build
75+
- uses: actions/checkout@v2
76+
- name: Set up JDK 11
77+
uses: actions/setup-java@v1
78+
with:
79+
java-version: 11
80+
- name: Add msys to path
81+
run: SETX PATH "%PATH%;C:\msys64\mingw64\bin"
82+
- name: Cache gradle
83+
uses: actions/cache@v2
84+
with:
85+
path: |
86+
.gradle
87+
build
88+
~/.gradle
89+
key: ${{ runner.os }}-gradle
90+
restore-keys: ${{ runner.os }}-gradle
91+
92+
- name: Cache konan
93+
uses: actions/cache@v2
94+
with:
95+
path: |
96+
~/.konan/dependencies
97+
~/.konan/kotlin-native-prebuilt-mingw-*
98+
key: ${{ runner.os }}-konan
99+
restore-keys: ${{ runner.os }}-konan
100+
- name: Build with Gradle
101+
run: ./gradlew --build-cache build

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ out/
88

99
# Cache of project
1010
.gradletasknamecache
11-
12-
gradle.properties

.space.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
job("Build") {
2+
gradlew("openjdk:11", "build")
3+
}

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,53 @@
22

33
## [Unreleased]
44
### Added
5+
- `fun` annotation for SAM interfaces in library
6+
- Explicit `public` visibility for all public APIs
7+
- Better trigonometric and hyperbolic functions for `AutoDiffField` (https://github.com/mipt-npm/kmath/pull/140)
8+
- Automatic README generation for features (#139)
9+
- Native support for `memory`, `core` and `dimensions`
10+
- `kmath-ejml` to supply EJML SimpleMatrix wrapper (https://github.com/mipt-npm/kmath/pull/136)
11+
- A separate `Symbol` entity, which is used for global unbound symbol.
12+
- A `Symbol` indexing scope.
13+
- Basic optimization API for Commons-math.
14+
- Chi squared optimization for array-like data in CM
15+
- `Fitting` utility object in prob/stat
16+
- ND4J support module submitting `NDStructure` and `NDAlgebra` over `INDArray`
17+
- Coroutine-deterministic Monte-Carlo scope with a random number generator
18+
- Some minor utilities to `kmath-for-real`
19+
- Generic operation result parameter to `MatrixContext`
20+
- New `MatrixFeature` interfaces for matrix decompositions
521

622
### Changed
23+
- Package changed from `scientifik` to `kscience.kmath`
24+
- Gradle version: 6.6 -> 6.8
25+
- Minor exceptions refactor (throwing `IllegalArgumentException` by argument checks instead of `IllegalStateException`)
26+
- `Polynomial` secondary constructor made function
27+
- Kotlin version: 1.3.72 -> 1.4.21
28+
- `kmath-ast` doesn't depend on heavy `kotlin-reflect` library
29+
- Full autodiff refactoring based on `Symbol`
30+
- `kmath-prob` renamed to `kmath-stat`
31+
- Grid generators moved to `kmath-for-real`
32+
- Use `Point<Double>` instead of specialized type in `kmath-for-real`
33+
- Optimized dot product for buffer matrices moved to `kmath-for-real`
34+
- EjmlMatrix context is an object
35+
- Matrix LUP `inverse` renamed to `inverseWithLUP`
36+
- `NumericAlgebra` moved outside of regular algebra chain (`Ring` no longer implements it).
37+
- Features moved to NDStructure and became transparent.
738

839
### Deprecated
940

1041
### Removed
42+
- `kmath-koma` module because it doesn't support Kotlin 1.4.
43+
- Support of `legacy` JS backend (we will support only IR)
44+
- `toGrid` method.
45+
- Public visibility of `BufferAccessor2D`
1146

1247
### Fixed
48+
- `symbol` method in `MstExtendedField` (https://github.com/mipt-npm/kmath/pull/140)
1349

1450
### Security
51+
1552
## [0.1.4]
1653

1754
### Added

0 commit comments

Comments
 (0)