Struct TermRecord

Struct Documentation

struct TermRecord

Public Members

std::string key = {}
std::vector<std::string> factors = {}
std::string scalar = {}
std::optional<TreeShape> tree = {}

nullopt = pure scalar term, or !pinnable

std::vector<NodeAnnotationRecord> nodes = {}
bool pinnable = true

false: the term is not a tensor product (a factor is a Sum or a Variable), so the optimizer’s choice for it is not recorded (tree is null, nodes empty) and a pin refuses it; the term is still listed so the root’s term set is complete