49 template<
class Cmpt>
class Tensor;
92 const scalar minCondition = 0
129 const scalar minCondition = 0
136 const scalar minCondition = 0
const scalarRectangularMatrix & V() const noexcept
Return the square matrix V.
const scalarDiagonalMatrix & S() const noexcept
Return the singular values.
scalar minNonZeroS() const
Return the minimum non-zero singular value.
const scalarRectangularMatrix & U() const noexcept
Return U.
void operator=(const SVD &)=delete
No copy assignment.
Singular value decomposition of a rectangular matrix.
static scalarRectangularMatrix pinv(const scalarRectangularMatrix &A, const scalar minCondition=0)
Return the pseudo inverse of the given matrix.
bool converged() const noexcept
Return the minimum non-zero singular value.
scalarRectangularMatrix VSinvUt() const
Return the matrix product V S^(-1) U^T (the pseudo inverse)
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
label nZeros() const noexcept
Return the number of zero singular values.
SVD(const SVD &)=delete
No copy construct.