![]() |
QMCPACK
|
Tensor<T,D> class for D by D tensor. More...
Classes | |
class | DontInitialize |
Public Types | |
enum | { ElemDim = 2 } |
enum | { Size = D * D } |
using | Type_t = T |
Public Member Functions | |
Tensor () | |
Tensor (DontInitialize) | |
Tensor (const Tensor &rhs)=default | |
template<class T1 > | |
Tensor (const Tensor< T1, D > &rhs) | |
Tensor (const T &x00) | |
Tensor (const T &x00, const T &x10, const T &x01, const T &x11) | |
Tensor (const T &x00, const T &x10, const T &x20, const T &x01, const T &x11, const T &x21, const T &x02, const T &x12, const T &x22) | |
Tensor (const SymTensor< T, D > &) | |
Tensor (const AntiSymTensor< T, D > &) | |
~Tensor () | |
Tensor & | operator= (const Tensor &rhs)=default |
template<class T1 > | |
Tensor< T, D > & | operator= (const Tensor< T1, D > &rhs) |
Tensor< T, D > & | operator= (const T &rhs) |
template<class T1 > | |
Tensor< T, D > & | operator+= (const Tensor< T1, D > &rhs) |
Tensor< T, D > & | operator+= (const T &rhs) |
template<class T1 > | |
Tensor< T, D > & | operator-= (const Tensor< T1, D > &rhs) |
Tensor< T, D > & | operator-= (const T &rhs) |
template<class T1 > | |
Tensor< T, D > & | operator*= (const Tensor< T1, D > &rhs) |
Tensor< T, D > & | operator*= (const T &rhs) |
template<class T1 > | |
Tensor< T, D > & | operator/= (const Tensor< T1, D > &rhs) |
Tensor< T, D > & | operator/= (const T &rhs) |
void | diagonal (const T &rhs) |
void | add2diagonal (T rhs) |
int | len () const |
return the size More... | |
int | size () const |
return the size More... | |
Type_t & | operator[] (unsigned int i) |
return the i-th value or assign More... | |
Type_t | operator[] (unsigned int i) const |
return the i-th value More... | |
Type_t & | operator() (unsigned int i) |
Type_t | operator() (unsigned int i) const |
Type_t | operator() (unsigned int i, unsigned int j) const |
return the (i,j) component More... | |
Type_t & | operator() (unsigned int i, unsigned int j) |
return/assign the (i,j) component More... | |
TinyVector< T, D > | getRow (unsigned int i) |
TinyVector< T, D > | getColumn (unsigned int i) |
Type_t * | data () |
const Type_t * | data () const |
Type_t * | begin () |
const Type_t * | begin () const |
Type_t * | end () |
const Type_t * | end () const |
Private Attributes | |
T | X [Size] |
Tensor<T,D> class for D by D tensor.
T | datatype |
D | dimension |
Definition at line 32 of file OhmmsTinyMeta.h.
class qmcplusplus::Tensor::DontInitialize |
|
inline |
Definition at line 69 of file Tensor.h.
|
inline |
Definition at line 84 of file Tensor.h.
|
inline |
Definition at line 91 of file Tensor.h.
|
inline |
|
inline |
Tensor | ( | const AntiSymTensor< T, D > & | rhs | ) |
|
inline |
|
inline |
Definition at line 269 of file Tensor.h.
Referenced by EinsplineSetBuilder::BroadcastOrbitalInfo(), and qmcplusplus::MatrixOperators::product().
|
inline |
Definition at line 267 of file Tensor.h.
Referenced by h5_space_type< Tensor< T, D >, RANK >::get_address().
|
inline |
Definition at line 205 of file Tensor.h.
Referenced by BackflowTransformation::BackflowTransformation(), L2Potential::evaluateD(), L2Potential::evaluateDK(), J1Spin< FT >::evaluateHessian(), TwoBodyJastrow< FT >::evaluateHessian(), J1OrbitalSoA< FT >::evaluateHessian(), and qmcplusplus::TEST_CASE().
|
inline |
Definition at line 271 of file Tensor.h.
Referenced by EinsplineSetBuilder::BroadcastOrbitalInfo().
|
inline |
Definition at line 272 of file Tensor.h.
|
inline |
Definition at line 259 of file Tensor.h.
|
inline |
Definition at line 251 of file Tensor.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
return the size
Definition at line 220 of file Tensor.h.
Referenced by CountingGaussian::makeClone().
|
private |
Definition at line 312 of file Tensor.h.
Referenced by Tensor< Real, OHMMS_DIM >::begin(), Tensor< Real, OHMMS_DIM >::data(), Tensor< Real, OHMMS_DIM >::end(), Tensor< Real, OHMMS_DIM >::getColumn(), Tensor< Real, OHMMS_DIM >::getRow(), Tensor< Real, OHMMS_DIM >::operator()(), Tensor< Real, OHMMS_DIM >::operator[](), and Tensor< Real, OHMMS_DIM >::Tensor().