QMCPACK
Tensor.h File Reference
+ Include dependency graph for Tensor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SymTensor< T, D >
 
class  AntiSymTensor< T, D >
 
class  Tensor< T, D >
 Tensor<T,D> class for D by D tensor. More...
 
class  Tensor< T, D >::DontInitialize
 

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

template<class T , unsigned D>
trace (const Tensor< T, D > &rhs)
 trace $ result = \sum_k rhs(k,k)$ More...
 
template<class T , unsigned D>
Tensor< T, D > transpose (const Tensor< T, D > &rhs)
 transpose a tensor More...
 
template<class T1 , class T2 , unsigned D>
T1 trace (const Tensor< T1, D > &a, const Tensor< T2, D > &b)
 Tr(a*b), $ \sum_i\sum_j a(i,j)*b(j,i) $. More...
 
template<class T , unsigned D>
traceAtB (const Tensor< T, D > &a, const Tensor< T, D > &b)
 Tr(a^t *b), $ \sum_i\sum_j a(i,j)*b(i,j) $. More...
 
template<class T1 , class T2 , unsigned D>
BinaryReturn< T1, T2, OpMultiply >::Type_t traceAtB (const Tensor< T1, D > &a, const Tensor< T2, D > &b)
 Tr(a^t *b), $ \sum_i\sum_j a(i,j)*b(i,j) $. More...
 
template<class T1 , class T2 , unsigned D>
Tensor< typename BinaryReturn< T1, T2, OpMultiply >::Type_t, D > dot (const Tensor< T1, D > &lhs, const Tensor< T2, D > &rhs)
 Binary Operators. More...
 
template<class T1 , class T2 , unsigned D>
TinyVector< typename BinaryReturn< T1, T2, OpMultiply >::Type_t, D > dot (const TinyVector< T1, D > &lhs, const Tensor< T2, D > &rhs)
 Vector-Tensor dot product $result(i)=\sum_k lhs(k)*rhs(k,i)$. More...
 
template<class T1 , class T2 , unsigned D>
TinyVector< typename BinaryReturn< T1, T2, OpMultiply >::Type_t, D > dot (const Tensor< T1, D > &lhs, const TinyVector< T2, D > &rhs)
 Tensor-Vector dot product $result(i)=\sum_k lhs(i,k)*rhs(k)$. More...
 
template<class T , unsigned D>
std::ostream & operator<< (std::ostream &out, const Tensor< T, D > &rhs)
 Vector-vector outter product $ result(i,j)=v1(i)*v2(j)$. More...
 
template<class T , unsigned D>
std::istream & operator>> (std::istream &is, Tensor< T, D > &rhs)
 
template<class T , unsigned D>
bool operator== (const Tensor< T, D > &lhs, const Tensor< T, D > &rhs)
 
template<class T , unsigned D>
bool operator!= (const Tensor< T, D > &lhs, const Tensor< T, D > &rhs)
 

Class Documentation

◆ qmcplusplus::Tensor::DontInitialize

class qmcplusplus::Tensor::DontInitialize

template<class T, unsigned D>
class qmcplusplus::Tensor< T, D >::DontInitialize

Definition at line 76 of file Tensor.h.

+ Collaboration diagram for Tensor< T, D >::DontInitialize: