Dev #127
@ -10,7 +10,7 @@ kotlin.sourceSets {
|
|||||||
commonMain {
|
commonMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":kmath-core"))
|
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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -11,7 +11,7 @@ import kotlin.math.*
|
|||||||
/**
|
/**
|
||||||
* A field for complex numbers
|
* 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 zero: Complex = Complex(0.0, 0.0)
|
||||||
|
|
||||||
override val one: Complex = Complex(1.0, 0.0)
|
override val one: Complex = Complex(1.0, 0.0)
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||
package scientifik.kmath.structures
|
package scientifik.kmath.structures
|
||||||
|
|
||||||
import scientifik.kmath.operations.*
|
import scientifik.kmath.operations.ExtendedField
|
||||||
|
|
||||||
interface ExtendedNDField<T : Any, F, N : NDStructure<T>> :
|
interface ExtendedNDField<T : Any, F : ExtendedField<T>, N : NDStructure<T>> : NDField<T, F, N>, ExtendedField<N>
|
||||||
NDField<T, F, N>,
|
|
||||||
TrigonometricOperations<N>,
|
|
||||||
PowerOperations<N>,
|
|
||||||
ExponentialOperations<N>
|
|
||||||
where F : ExtendedFieldOperations<T>, F : Field<T>
|
|
||||||
|
|
||||||
|
|
||||||
///**
|
///**
|
||||||
|
Loading…
Reference in New Issue
Block a user