◆ TensorLeg()
exatn::numerics::TensorLeg::TensorLeg |
( |
unsigned int |
tensor_id, |
|
|
unsigned int |
dimensn_id, |
|
|
LegDirection |
direction = LegDirection::UNDIRECT |
|
) |
| |
Create a tensor leg by specifying the id of the connected tensor [0:*] and its corresponding dimension [0:*].
◆ getDimensionId()
unsigned int exatn::numerics::TensorLeg::getDimensionId |
( |
| ) |
const |
Return the connected tensor dimension id: [0..*].
◆ getDirection()
LegDirection exatn::numerics::TensorLeg::getDirection |
( |
| ) |
const |
Return the direction of the tensor leg.
◆ getTensorId()
unsigned int exatn::numerics::TensorLeg::getTensorId |
( |
| ) |
const |
Return the connected tensor id: [0..*].
◆ printIt()
void exatn::numerics::TensorLeg::printIt |
( |
| ) |
const |
◆ resetConnection()
void exatn::numerics::TensorLeg::resetConnection |
( |
unsigned int |
tensor_id, |
|
|
unsigned int |
dimensn_id, |
|
|
LegDirection |
direction = LegDirection::UNDIRECT |
|
) |
| |
Reset the tensor leg to another connection.
◆ resetDimensionId()
void exatn::numerics::TensorLeg::resetDimensionId |
( |
unsigned int |
dimensn_id | ) |
|
Reset only the tensor dimension id in the tensor leg.
◆ resetDirection()
void exatn::numerics::TensorLeg::resetDirection |
( |
LegDirection |
direction | ) |
|
Reset the direction of the tensor leg.
◆ resetTensorId()
void exatn::numerics::TensorLeg::resetTensorId |
( |
unsigned int |
tensor_id | ) |
|
Reset only the tensor id in the tensor leg.
◆ reverseDirection()
void exatn::numerics::TensorLeg::reverseDirection |
( |
| ) |
|
Reverse the direction of the tensor leg.
The documentation for this class was generated from the following files:
- /Users/aqw/exatn/src/numerics/tensor_leg.hpp
- /Users/aqw/exatn/src/numerics/tensor_leg.cpp