vector eigenVector(const symmTensor &T, const scalar eVal, const vector &standardBasis1, const vector &standardBasis2)
Return a real eigenvector corresponding to a given real eigenvalue of a given symmTensor.
Tensor< float > floatTensor
dimensionedTensor eigenVectors(const dimensionedSymmTensor &dt)
symmTensor pinv(const symmTensor &st)
Return inverse of a given symmTensor, and fall back to pseudo-inverse if the symmTensor is singular...
Tensor< double > doubleTensor
Templated 3D Vector derived from VectorSpace adding construction from 3 components, element access using x(), y() and z() member functions and the inner-product (dot-product) and cross-product operators.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedVector eigenValues(const dimensionedSymmTensor &dt)
A complex number, similar to the C++ complex type.
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
Tensor of scalars, i.e. Tensor<scalar>.