Go to the documentation of this file.
152 template<
class MatrixType>
226 inline void applyHouseholder
236 template<
template<
typename>
class ListContainer>
237 void solvex(ListContainer<cmptType>&
x)
const;
241 template<
template<
typename>
class ListContainer>
245 const ListContainer<cmptType>& source
289 const storeMethods storeMethod = storeMethods::OUT_OF_PLACE,
298 const storeMethods storeMethod = storeMethods::OUT_OF_PLACE,
317 inline const MatrixType&
Q()
const;
320 inline const MatrixType&
R()
const;
400 template<
class MatrixType>
404 const scalar tol = 1
e-5
void solve(List< cmptType > &x, const UList< cmptType > &source) const
RectangularMatrix< cmptType > RMatrix
A class for managing temporary objects.
void applyLeftReflector(MatrixType &A, const RMatrix &reflector, const label k=0, const label k1=0)
@ REDUCED_R
computes only reduced R
MatrixType pinv(const MatrixType &A, const scalar tol=1e-5)
RMatrix householderReflector(RMatrix u)
MatrixType::cmptType cmptType
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
const MatrixType & Q() const
@ TRUE
switches on column pivoting
QRMatrix (i.e. QR decomposition, QR factorisation or orthogonal-triangular decomposition) decomposes ...
RMatrix backSubstitution(const SMatrix &A, const RMatrix &b)
const dimensionedScalar b
void applyRightReflector(MatrixType &A, const RMatrix &reflector, const label k=0)
@ FULL_QR
computes both R and Q
@ FALSE
switches off column pivoting
@ IN_PLACE
replaces input matrix content with R
A templated (M x N) rectangular matrix of objects of <Type>, containing M*N elements,...
const MatrixType & R() const
SquareMatrix< cmptType > SMatrix
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const labelList & orderP() const
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const dimensionedScalar e
Base for lists with indirect addressing, templated on the list contents type and the addressing type....
void decompose(MatrixType &A)
@ OUT_OF_PLACE
creates new object of R