AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::TensorProxy Class Reference

Detailed Description

It normally isn't useful to use this class directly, instead is designed as an intermediate proxy object for performing tensor manipulations

Definition at line 160 of file Tensor.h.

Public Member Functions

 TensorProxy (const Tensor &tensor, const std::vector< Tensor::Index > &indices)
 
std::vector< Tensor::Indexindices () const
 
const Tensortensor () const
 
TensortensorMutable ()
 
TensorProxy reorder (const std::vector< Tensor::Index > &indices)
 
 operator Expression () const
 
 operator Tensor () const
 

Constructor & Destructor Documentation

◆ TensorProxy()

AmpGen::TensorProxy::TensorProxy ( const Tensor & tensor,
const std::vector< Tensor::Index > & indices )

Member Function Documentation

◆ indices()

std::vector< Tensor::Index > AmpGen::TensorProxy::indices ( ) const

◆ operator Expression()

AmpGen::TensorProxy::operator Expression ( ) const

◆ operator Tensor()

AmpGen::TensorProxy::operator Tensor ( ) const

◆ reorder()

TensorProxy AmpGen::TensorProxy::reorder ( const std::vector< Tensor::Index > & indices)

◆ tensor()

const Tensor & AmpGen::TensorProxy::tensor ( ) const

◆ tensorMutable()

Tensor & AmpGen::TensorProxy::tensorMutable ( )

The documentation for this class was generated from the following file: