Typedef sequant::EvalSequence

Typedef Documentation

using sequant::EvalSequence = container::svector<int>

All elements in the vector belong to the integral range [-1,N) where N is the length of the [Expr] (ie. the iterable of expressions)

  • only applicable for binary evaluations

  • the integer -1 can appear in certain places: it implies the binary operation between the last two expressions

  • eg.

    • {0,1,-1,2,-1} => ( (e[0], e[1]), e[2])

    • {0,1,-1,2,3,-1,-1} => ((e[0], e[1]), (e[2],e[3]))