#include <TensorIndices.h>
Static Public Member Functions | |
| static TensorIndicesBasicTypes::DimSize_t | dim (TensorIndices< RANK > const &t) |
| static TensorIndicesBasicTypes::DimSize_t | size (TensorIndices< RANK > const &t) |
| RANK | rank of the TensorIndices to be queried |
| DIM | the dimension to ask about (0 is the most outer one) |
Helper to recourse tensor dimensions with C++ metaprogramming. Currently supported:
dim(t): if DIM is 0, the request is for the outer dimension of t, which is immediately returned; otherwise, another extractor is queried on the minor() of t, decreasing DIM by 1size(t): if DIM is 0, the request is for the outer dimension of t, which is immediately returned; otherwise, another extractor is queried on the minor() of t, decreasing DIM by 1 Definition at line 51 of file TensorIndices.h.
|
inlinestatic |
Definition at line 583 of file TensorIndices.h.
|
inlinestatic |
Definition at line 587 of file TensorIndices.h.
1.8.5