Class ix_fixed (o2scl)

O2scl : Class List

class ix_fixed : public o2scl::index_spec

Fix an index for tensors.

Public Functions

inline ix_fixed(size_t ix, size_t fix)

Create an ix_fixed object for index ix at value fix.

inline ix_fixed(index_spec &is)

Create an ix_fixed object from a index_spec object.

Public Members

size_t &fixed_value

The value at which the specified index is to be fixed.