All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions
Tensor.h File Reference
#include "MatrixSquareBracketsAccess.h"
#include "Vector.h"

Classes

class  PLMD::TensorGeneric< n, m >
 Class implementing fixed size matrices of doubles. More...
 

Namespaces

 PLMD
 

Typedefs

typedef TensorGeneric< 2, 2 > PLMD::Tensor2d
 
typedef TensorGeneric< 3, 3 > PLMD::Tensor3d
 
typedef TensorGeneric< 4, 4 > PLMD::Tensor4d
 
typedef Tensor3d PLMD::Tensor
 

Functions

template<unsigned n, unsigned m>
TensorGeneric< n, mPLMD::operator+ (const TensorGeneric< n, m > &t1, const TensorGeneric< n, m > &t2)
 
template<unsigned n, unsigned m>
TensorGeneric< n, mPLMD::operator- (const TensorGeneric< n, m > &t1, const TensorGeneric< n, m > &t2)
 
template<unsigned n, unsigned m>
TensorGeneric< n, mPLMD::operator* (const TensorGeneric< n, m > &t1, double s)
 
template<unsigned n, unsigned m>
TensorGeneric< n, mPLMD::operator* (double s, const TensorGeneric< n, m > &t1)
 
template<unsigned n, unsigned m>
TensorGeneric< n, mPLMD::operator/ (const TensorGeneric< n, m > &t1, double s)
 
template<unsigned n, unsigned m, unsigned l>
TensorGeneric< n, lPLMD::matmul (const TensorGeneric< n, m > &a, const TensorGeneric< m, l > &b)
 
template<unsigned n, unsigned m>
VectorGeneric< nPLMD::matmul (const TensorGeneric< n, m > &a, const VectorGeneric< m > &b)
 
template<unsigned n, unsigned m>
VectorGeneric< nPLMD::matmul (const VectorGeneric< m > &a, const TensorGeneric< m, n > &b)
 
template<unsigned n, unsigned m, unsigned l, unsigned i>
TensorGeneric< n, iPLMD::matmul (const TensorGeneric< n, m > &a, const TensorGeneric< m, l > &b, const TensorGeneric< l, i > &c)
 
template<unsigned n, unsigned m, unsigned l>
VectorGeneric< nPLMD::matmul (const TensorGeneric< n, m > &a, const TensorGeneric< m, l > &b, const VectorGeneric< l > &c)
 
template<unsigned n, unsigned m, unsigned l>
VectorGeneric< lPLMD::matmul (const VectorGeneric< n > &a, const TensorGeneric< n, m > &b, const TensorGeneric< m, l > &c)
 
double PLMD::determinant (const TensorGeneric< 3, 3 > &t)
 
TensorGeneric< 3, 3 > PLMD::inverse (const TensorGeneric< 3, 3 > &t)
 
template<unsigned n, unsigned m>
TensorGeneric< n, mPLMD::transpose (const TensorGeneric< m, n > &t)
 
template<unsigned n, unsigned m>
TensorGeneric< n, mPLMD::extProduct (const VectorGeneric< n > &v1, const VectorGeneric< m > &v2)
 
TensorGeneric< 3, 3 > PLMD::dcrossDv1 (const VectorGeneric< 3 > &v1, const VectorGeneric< 3 > &v2)
 
TensorGeneric< 3, 3 > PLMD::dcrossDv2 (const VectorGeneric< 3 > &v1, const VectorGeneric< 3 > &v2)