Class ix_trace (o2scl)

O2scl : Class List

class ix_trace : public o2scl::index_spec

Perform a trace over two tensor indices.

Public Functions

inline ix_trace(size_t ix, size_t jx)

Create an ix_trace object for indices ix and jx.

inline ix_trace(index_spec &is)

Create an ix_trace object from a index_spec object.

Public Members

size_t &second_index

The second index to trace over.