Commit Graph

510 Commits

Author SHA1 Message Date
Iaroslav Postovalov
40888f66d6
Replace opt-in annotations with useExperimentalAnnotation for modules 2020-08-22 16:49:21 +07:00
Iaroslav
1b8ddedfe3
Add newlines 2020-08-22 03:01:47 +07:00
Iaroslav
f3e2b4a597
Remove import 2020-08-22 02:51:57 +07:00
Iaroslav
1d18832aa6
Provide contracts for many functions, make inline several functions, replace <algebra>.run { and with(<algebra>> { with <algebra> {, add newlines at EOFs, specify operator modifier explicitly at many places, reformat files, replace if (...) error guards with require and check 2020-08-22 02:42:59 +07:00
Iaroslav
3d3791b6cb
Merge remote-tracking branch 'origin/master' into dev 2020-08-15 17:14:11 +07:00
Iaroslav
b1f52f3022
Update changelog 2020-08-15 17:00:17 +07:00
Iaroslav
1e4692d5cf
Fix scalar multiplication in BigInt, implement testers for fields, rings and spaces and apply them to ComplexFieldTest, BigIntAlgebraTest and RealFieldTest 2020-08-12 21:18:47 +07:00
Iaroslav Postovalov
5b215833ca
Merge pull request #118 from mipt-npm/hyp-trig-functions
Implement hyperbolic functions for various Algebras
2020-08-11 22:18:05 +07:00
Iaroslav Postovalov
3f0c208355
Specify ATANH_OPERATION type for API stability 2020-08-11 15:11:29 +07:00
Iaroslav Postovalov
c7e6764ea2
Specify constants' types for API stability 2020-08-11 15:10:48 +07:00
Iaroslav Postovalov
837150b5eb
Fix norm and add test of it 2020-08-11 15:06:53 +07:00
Iaroslav Postovalov
8ab8864227
Add newline 2020-08-11 15:02:56 +07:00
Iaroslav Postovalov
df3bd8a07c
Merge remote-tracking branch 'origin/dev' into hyp-trig-functions
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Algebra.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Complex.kt
#	kmath-core/src/commonTest/kotlin/scientifik/kmath/operations/ComplexFieldTest.kt
2020-08-11 15:01:53 +07:00
Iaroslav Postovalov
b77bfeb372
Provide basic tests for complex numbers, also fix complex division 2020-08-11 14:58:28 +07:00
Alexander Nozik
eed16630d9
Merge pull request #127 from mipt-npm/dev
Dev
2020-08-11 08:33:20 +03:00
Alexander Nozik
c4a2489b81
Merge pull request #126 from mipt-npm/add-changelog
Add changelog
2020-08-11 08:32:22 +03:00
Iaroslav
b65641ddbb
Add header to changelog 2020-08-11 02:39:01 +07:00
Iaroslav
53a54300fa
Add changelog 2020-08-11 02:36:08 +07:00
Iaroslav
71c4ee0655
Add average and averageWith space extensions 2020-08-10 01:42:11 +07:00
Iaroslav
6329722131
Fix typos 2020-08-10 01:30:32 +07:00
Iaroslav
895f788f75
Cleanup doc mistakes, fix number fields corner cases 2020-08-09 23:43:38 +07:00
Iaroslav
6ead822cc3
Fix after-merge issues, provide default implementations for hyperbolic functions, remove their interface 2020-08-09 23:31:49 +07:00
Iaroslav
40d7351515
Merge remote-tracking branch 'origin/dev' into hyp-trig-functions
# Conflicts:
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/Complex.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/NumberAlgebra.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/operations/OptionalOperations.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/ComplexNDField.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/RealBufferField.kt
#	kmath-core/src/commonMain/kotlin/scientifik/kmath/structures/RealNDField.kt
2020-08-09 23:23:48 +07:00
Alexander Nozik
e2e26c106f
Merge pull request #125 from mipt-npm/more-docs
Extended documentation, code refactoring, API consistency changes
2020-08-09 18:48:26 +03:00
Iaroslav
6114099e68
Edit doc files, update readmes, document coroutines API 2020-08-08 15:51:04 +07:00
Iaroslav
cb5234a334
Document AST and expressions API, implement ExtendedField over MST and Expression<T> 2020-08-08 04:57:20 +07:00
Iaroslav
c8cd6cd288
Document memory module and several ND objects 2020-08-08 04:21:59 +07:00
Iaroslav
0a8044ddb3
Update buffers documentation, make API more consistent, minor changes 2020-08-07 15:20:26 +07:00
Iaroslav Postovalov
9f6bd116f6
Document and make more consistent buffers API 2020-08-06 12:39:50 +07:00
Iaroslav Postovalov
eae218ff5f
Update algebra extensions, improve docs 2020-08-05 20:55:50 +07:00
Iaroslav Postovalov
4c39b98017
Update documentation of NumberAlgebra 2020-08-05 18:44:28 +07:00
Iaroslav Postovalov
7d32fe0af8
Update documentation of NumberAlgebra 2020-08-05 18:43:20 +07:00
Iaroslav Postovalov
8367e13057
Improve documentation of complex and memoryspec 2020-08-05 18:41:58 +07:00
Iaroslav Postovalov
aed10329eb
Improve documentation of elements 2020-08-05 17:30:11 +07:00
Iaroslav Postovalov
8debed7048
Improve documentation 2020-08-05 17:25:56 +07:00
Iaroslav
ae7aefeb6a
Specify type explicitly EVERYWHERE in kmath-core, add newlines at ends of files, refactor minor problems, improve documentation 2020-08-05 03:58:00 +07:00
Iaroslav
9fded79af0
Move codestyle.md 2020-07-31 16:46:32 +07:00
Iaroslav Postovalov
b9f871ae76
Upgrade Gradle from 6.5 to 6.5.1 2020-07-30 03:43:57 +07:00
c2ca7b871d Merge SCI-MR-10 from improved-java-math-big-numbers 2020-07-29 08:39:19 +00:00
Alexander Nozik
87ff735a31
Update Dimensions.kt
Fix D3 typo.
2020-07-28 09:02:03 +03:00
Alexander Nozik
e714c9b808
Merge pull request #120 from mipt-npm/extended-grammar
Extend mathematic operations support in the kmath-ast parser
2020-07-27 19:37:08 +03:00
Iaroslav
11c98d6acf
Upgrade better-parse to 0.4.0 2020-07-27 23:06:28 +07:00
Iaroslav
0995dca8b8
Delete unchecked cast, revert evaluate changes, add RealField handling "pow" operation 2020-07-27 20:46:57 +07:00
Iaroslav
c64a89c6b6
Implement power as binary operation with unchecked cast, add tests on parser precedence 2020-07-27 19:27:59 +07:00
Iaroslav
3f6961b2b4
Merge remote-tracking branch 'origin/dev' into hyp-trig-functions 2020-07-27 16:02:53 +07:00
Iaroslav
1ebd362696
Update num token in reference 2020-07-27 15:58:09 +07:00
Iaroslav
f8383deb70
Fix operators in reference 2020-07-27 15:49:36 +07:00
Iaroslav
a5499260fa
Update num rule to match 1e+1 like numbers 2020-07-27 15:45:05 +07:00
Iaroslav
45087f8b2d
Add capital latin letters support 2020-07-27 15:37:18 +07:00
Iaroslav
e0d550d39c
Merge remote-tracking branch 'origin/master' into dev 2020-07-27 15:33:17 +07:00