![]() |
AmpGen 2.1
|
It normally isn't useful to use this class directly, instead is designed as an intermediate proxy object for performing tensor manipulations
Public Member Functions | |
TensorProxy (const Tensor &tensor, const std::vector< Tensor::Index > &indices) | |
std::vector< Tensor::Index > | indices () const |
const Tensor & | tensor () const |
Tensor & | tensorMutable () |
TensorProxy | reorder (const std::vector< Tensor::Index > &indices) |
operator Expression () const | |
operator Tensor () const | |
AmpGen::TensorProxy::TensorProxy | ( | const Tensor & | tensor, |
const std::vector< Tensor::Index > & | indices ) |
std::vector< Tensor::Index > AmpGen::TensorProxy::indices | ( | ) | const |
AmpGen::TensorProxy::operator Expression | ( | ) | const |
AmpGen::TensorProxy::operator Tensor | ( | ) | const |
TensorProxy AmpGen::TensorProxy::reorder | ( | const std::vector< Tensor::Index > & | indices | ) |
const Tensor & AmpGen::TensorProxy::tensor | ( | ) | const |
Tensor & AmpGen::TensorProxy::tensorMutable | ( | ) |