![]() |
University of Murcia, Spain ![]() |
QVTensorIndex Class ReferenceIndexes for tensors.
More...
|
Public Member Functions | |
QVTensorIndex (const int dimension) | |
Creates a new index name object. | |
QVTensorIndex (const QVTensorIndex &tensorIndex) | |
Copy constructor for tensor index name objects. | |
QVTensorIndex | cov () const |
Gets the covariant version of this index name. | |
QVTensorIndex | covariant () const |
Gets the covariant version of this index name. | |
QVTensorIndexRange | range (const int min, const int max) const |
Gets a value state containing a range of integer values for the index name. | |
const QVTensorIndexRange | operator[] (const int value) const |
Gets a value state containing an integer, for the index name. |
The valence of a particular tensor is the number and type of array indices. QVTensorIndex class can be used to create index objects, and compose list of them to indicate the valence of a tensor, at construction.
See QVTensor class for detailed usage.
Definition at line 118 of file qvtensorindex.h.
QVTensorIndex::QVTensorIndex | ( | const QVTensorIndex & | tensorIndex | ) | [inline] |
Copy constructor for tensor index name objects.
Copies an index.
Definition at line 128 of file qvtensorindex.h.
QVTensorIndex QVTensorIndex::cov | ( | ) | const [inline] |
Gets the covariant version of this index name.
Definition at line 132 of file qvtensorindex.h.
QVTensorIndex QVTensorIndex::covariant | ( | ) | const [inline] |
Gets the covariant version of this index name.
Definition at line 136 of file qvtensorindex.h.
QVTensorIndexRange QVTensorIndex::range | ( | const int | min, | |
const int | max | |||
) | const [inline] |
Gets a value state containing a range of integer values for the index name.
Definition at line 140 of file qvtensorindex.h.
const QVTensorIndexRange QVTensorIndex::operator[] | ( | const int | value | ) | const [inline] |
Gets a value state containing an integer, for the index name.
Definition at line 144 of file qvtensorindex.h.