Templated vector implementation.
This class implements a simple vector storage scheme for a templated class T. Utility.
static void NormalizeVetor3(TPZVec< Tvar > &vetor)
Normalizes the vector with 3 elements.
TPZSkylMatrix< REAL > matrix
static void ProdVetorial(TPZVec< Tvar > &u, TPZVec< Tvar > &v, TPZVec< Tvar > &result)
Computes the vectorial product u x v.
Implements several methods to calculation. Utility.
static void SortArray3(const TPZVec< Tvar > &array, int ordem[3])
Sorts in descending order, in absolute value and stores the indexes in ordem.
static Tvar Norm(const TPZVec< Tvar > &vetor)
Returns the L2-norm of the vector.
static void MatrixDet(REAL matrix[3][3], REAL &det)
Compute the 3x3-matrix determinant.
static void NormalizeVetor(TPZVec< Tvar > &vetor)
Normalizes the vector.