Fix ND extendend fields

This commit is contained in:
Alexander Nozik 2020-06-12 11:11:13 +03:00
parent 5e92d85c46
commit 047af8c172
3 changed files with 4 additions and 9 deletions

View File

@ -10,7 +10,7 @@ kotlin.sourceSets {
commonMain {
dependencies {
api(project(":kmath-core"))
implementation("com.github.h0tk3y.betterParse:better-parse-multiplatform:0.4.0-alpha3")
implementation("com.github.h0tk3y.betterParse:better-parse-multiplatform:0.4.0-alpha-3")
}
}
}

View File

@ -11,7 +11,7 @@ import kotlin.math.*
/**
* A field for complex numbers
*/
object ComplexField : ExtendedFieldOperations<Complex>, Field<Complex> {
object ComplexField : ExtendedField<Complex> {
override val zero: Complex = Complex(0.0, 0.0)
override val one: Complex = Complex(1.0, 0.0)

View File

@ -1,13 +1,8 @@
package scientifik.kmath.structures
import scientifik.kmath.operations.*
import scientifik.kmath.operations.ExtendedField
interface ExtendedNDField<T : Any, F, N : NDStructure<T>> :
NDField<T, F, N>,
TrigonometricOperations<N>,
PowerOperations<N>,
ExponentialOperations<N>
where F : ExtendedFieldOperations<T>, F : Field<T>
interface ExtendedNDField<T : Any, F : ExtendedField<T>, N : NDStructure<T>> : NDField<T, F, N>, ExtendedField<N>
///**