Index specification. More...
#include <tensor.h>
Public Attributes | |
size_t | type |
Type of specification. | |
size_t | ix1 |
First argument. | |
size_t | ix2 |
Second argument. | |
size_t | ix3 |
Third argument. | |
double | val1 |
First double argument. | |
double | val2 |
Second double argument. | |
double | val3 |
Third double argument. | |
Possible values for type | |
static const size_t | empty =0 |
Empty specification. | |
static const size_t | index =1 |
Retain an index. | |
static const size_t | fixed =2 |
Fix the value of an index. | |
static const size_t | sum =3 |
Sum over an index. | |
static const size_t | trace =4 |
Perform a trace (sum over two indices) | |
static const size_t | reverse =5 |
Reverse an index. | |
static const size_t | range =6 |
Choose a new range for an index. | |
static const size_t | interp =7 |
Interpolate a value to fix an index. | |
static const size_t | grid =8 |
Interpolate a value to set a new grid (fixed bin number) | |
static const size_t | gridw =9 |
Interpolate a value to set a new grid (fixed bin width) | |
index_spec () | |
Default constructor. | |
index_spec (size_t typ, size_t i1, size_t i2=0, size_t i3=0, double v1=0.0, double v2=0.0, double v3=0.0) | |
Explicit full constructor. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).