forked from kscience/kmath
Bump dev version
This commit is contained in:
parent
71ed56c2b6
commit
cceffa09e8
@ -20,7 +20,7 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "space.kscience"
|
group = "space.kscience"
|
||||||
version = "0.3.0"
|
version = "0.3.0-dev-2"
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
|
@ -103,7 +103,7 @@ public object CMLinearSpace : LinearSpace<Double, RealField> {
|
|||||||
structure.getFeature(type)?.let { return it }
|
structure.getFeature(type)?.let { return it }
|
||||||
|
|
||||||
val origin = structure.toCM().origin
|
val origin = structure.toCM().origin
|
||||||
|
|
||||||
return when (type) {
|
return when (type) {
|
||||||
DiagonalFeature::class -> if (origin is DiagonalMatrix) DiagonalFeature else null
|
DiagonalFeature::class -> if (origin is DiagonalMatrix) DiagonalFeature else null
|
||||||
|
|
||||||
@ -142,11 +142,8 @@ public object CMLinearSpace : LinearSpace<Double, RealField> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public operator fun CMMatrix.plus(other: CMMatrix): CMMatrix =
|
public operator fun CMMatrix.plus(other: CMMatrix): CMMatrix = CMMatrix(origin.add(other.origin))
|
||||||
CMMatrix(origin.add(other.origin))
|
|
||||||
|
|
||||||
public operator fun CMMatrix.minus(other: CMMatrix): CMMatrix =
|
public operator fun CMMatrix.minus(other: CMMatrix): CMMatrix = CMMatrix(origin.subtract(other.origin))
|
||||||
CMMatrix(origin.subtract(other.origin))
|
|
||||||
|
|
||||||
public infix fun CMMatrix.dot(other: CMMatrix): CMMatrix =
|
public infix fun CMMatrix.dot(other: CMMatrix): CMMatrix = CMMatrix(origin.multiply(other.origin))
|
||||||
CMMatrix(origin.multiply(other.origin))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user