public interface SingularValue<N extends Comparable<N>> extends MatrixDecomposition<N>, MatrixDecomposition.Solver<N>, MatrixDecomposition.EconomySize<N>, MatrixDecomposition.RankRevealing<N>, MatrixDecomposition.Values<N>
Modifier and Type | Interface and Description |
---|---|
static interface |
SingularValue.Factory<N extends Comparable<N>> |
MatrixDecomposition.Determinant<N extends Comparable<N>>, MatrixDecomposition.EconomySize<N extends Comparable<N>>, MatrixDecomposition.Hermitian<N extends Comparable<N>>, MatrixDecomposition.Ordered<N extends Comparable<N>>, MatrixDecomposition.Pivoting<N extends Comparable<N>>, MatrixDecomposition.RankRevealing<N extends Comparable<N>>, MatrixDecomposition.Solver<N extends Comparable<N>>, MatrixDecomposition.Values<N extends Comparable<N>>
Structure2D.IntRowColumn, Structure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S,B>>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.RowColumnCallback, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier and Type | Field and Description |
---|---|
static SingularValue.Factory<ComplexNumber> |
COMPLEX |
static SingularValue.Factory<Double> |
PRIMITIVE |
static SingularValue.Factory<Quaternion> |
QUATERNION |
static SingularValue.Factory<RationalNumber> |
RATIONAL |
TYPICAL
Modifier and Type | Method and Description |
---|---|
static <N extends Comparable<N>> |
equals(MatrixStore<N> matrix,
SingularValue<N> decomposition,
NumberContext context) |
double |
getCondition()
The condition number.
|
MatrixStore<N> |
getCovariance() |
MatrixStore<N> |
getD() |
double |
getFrobeniusNorm()
Sometimes also called the Schatten 2-norm or Hilbert-Schmidt norm.
|
double |
getKyFanNorm(int k)
Ky Fan k-norm.
|
double |
getOperatorNorm() |
default MatrixStore<N> |
getQ1()
Deprecated.
v48 Use
getU() instead |
default MatrixStore<N> |
getQ2()
Deprecated.
v48 Use
getV() instead |
Array1D<Double> |
getSingularValues() |
default void |
getSingularValues(double[] values) |
double |
getTraceNorm() |
MatrixStore<N> |
getU()
If [A] is m-by-n and its rank is r, then:
The first r columns of [U] span the column space, range or image of [A].
The last m-r columns of [U] span the left nullspace or cokernel of [A].
Calculating the QR decomposition of [A] is a faster alternative.
|
MatrixStore<N> |
getV()
If [A] is m-by-n and its rank is r, then:
The first r columns of [V] span the row space or coimage of [A].
The last n-r columns of [V] span the nullspace or kernel of [A].
Calculating the QR decomposition of [A]T is a faster alternative.
|
static <N extends Comparable<N>> |
make(Access2D<N> typical)
Deprecated.
v48 Use {link #COMPLEX},
PRIMITIVE . QUATERNION or RATIONAL
innstead. |
default MatrixStore<N> |
reconstruct() |
static <N extends Comparable<N>> |
reconstruct(SingularValue<N> decomposition)
Deprecated.
v48 Use
reconstruct() instead |
compute, getInverse, getInverse, getSolution, getSolution, isSolvable
preallocate, preallocate, solve, solve
invert, invert, preallocate, preallocate
isFullSize
countSignificant, getRank, getRankThreshold, isFullRank
computeValuesOnly
isOrdered
decompose, isComputed, reset
column, column, column, column, column, count, count, countColumns, countRows, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, row
index, loopAll, loopMatching, loopRange, mapper, size, toIntIndexes
static final SingularValue.Factory<ComplexNumber> COMPLEX
static final SingularValue.Factory<Double> PRIMITIVE
static final SingularValue.Factory<Quaternion> QUATERNION
static final SingularValue.Factory<RationalNumber> RATIONAL
static <N extends Comparable<N>> boolean equals(MatrixStore<N> matrix, SingularValue<N> decomposition, NumberContext context)
@Deprecated static <N extends Comparable<N>> SingularValue<N> make(Access2D<N> typical)
PRIMITIVE
. QUATERNION
or RATIONAL
innstead.@Deprecated static <N extends Comparable<N>> MatrixStore<N> reconstruct(SingularValue<N> decomposition)
reconstruct()
insteaddouble getCondition()
MatrixStore<N> getCovariance()
MatrixStore<N> getD()
double getFrobeniusNorm()
double getKyFanNorm(int k)
Ky Fan k-norm.
The first Ky Fan k-norm is the operator norm (the largest singular value), and the last is called the trace norm (the sum of all singular values).
k
- The number of singular values to add up.double getOperatorNorm()
@Deprecated default MatrixStore<N> getQ1()
getU()
instead@Deprecated default MatrixStore<N> getQ2()
getV()
insteadArray1D<Double> getSingularValues()
default void getSingularValues(double[] values)
values
- An array that will receive the singular valuesdouble getTraceNorm()
MatrixStore<N> getU()
MatrixStore<N> getV()
default MatrixStore<N> reconstruct()
reconstruct
in interface MatrixDecomposition<N extends Comparable<N>>
Copyright © 2019 Optimatika. All rights reserved.