Add unstable marker to eigenvalue decomposition
This commit is contained in:
parent
6c1a5e62bf
commit
222cdc2c14
@ -9,6 +9,7 @@ import space.kscience.attributes.PolymorphicAttribute
|
||||
import space.kscience.attributes.safeTypeOf
|
||||
import space.kscience.kmath.UnstableKMathAPI
|
||||
|
||||
@UnstableKMathAPI
|
||||
public interface EigenDecomposition<T> {
|
||||
/**
|
||||
* Eigenvector matrix.
|
||||
@ -21,6 +22,7 @@ public interface EigenDecomposition<T> {
|
||||
public val d: Matrix<T>
|
||||
}
|
||||
|
||||
@UnstableKMathAPI
|
||||
public class EigenDecompositionAttribute<T> :
|
||||
PolymorphicAttribute<EigenDecomposition<T>>(safeTypeOf()),
|
||||
MatrixAttribute<EigenDecomposition<T>>
|
||||
|
@ -474,6 +474,7 @@ public object EjmlLinearSpaceFDRM : EjmlLinearSpace<Float, Float32Field, FMatrix
|
||||
|
||||
override fun Float.times(v: Point<Float>): EjmlFloatVector<FMatrixRMaj> = v * this
|
||||
|
||||
@OptIn(UnstableKMathAPI::class)
|
||||
override fun <V, A : StructureAttribute<V>> computeAttribute(structure: Structure2D<Float32>, attribute: A): V? {
|
||||
val origin = structure.toEjml().origin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user