Enum EvalOp

Enum Documentation

enum class sequant::EvalOp

The EvalOp enum.

The EvalOp enum is used to distinguish between the different binary operations that can be performed on two EvalExpr objects.

Values:

enumerator Id

Represents the identity evaluation. It is not a binary operation per se. An atomic tensor or an atomic constant is always evaluated this way.

enumerator Sum

Represents the sum of two EvalExpr objects. Such as a tensor plus a tensor and a constant plus a constant.

enumerator Prod

Represents the product of two EvalExpr objects. Such as tensor times a tensor, a constant times a constant, or a tensor times a constant (in either order).