Class index_spec (o2scl)¶
-
class o2scl::index_spec¶
Index specification.
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)
-
inline index_spec()¶
Default constructor.
-
inline 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.
-
static const size_t empty = 0¶