SyTen

◆ restrict() [2/2]

Index syten::MPS::Lattice::restrict ( int  where) const
private

Maps an integer into the range [0, length) by subtracting/adding length repeatedly.

References length, SYTEN_ASSERT, and SYTEN_ASSERT_DEBUG.

Referenced by get(), getIdLeft(), getIdRight(), getLocal(), and siteType().

+ Here is the caller graph for this function: