Function sequant::eval::dryrun::make_dryrun_result¶
Defined in File result.hpp
Function Documentation¶
Builds whichever concrete DryRun Result type matches
idx'scontent: a nestedResultDryRunNestedif any index inidxis proto-indexed (a CSV/PNO composite leg, e.g. a CSV amplitude’s PNO domain lega_1<i_1,i_2>), otherwise a flatResultDryRun.Dispatch is by content of the decoded result annotation, not by either operand’s concrete type — exactly mirroring how the real eval engine itself decides tensor-of-tensor-ness (
EvalExpr::tot(), from the same proto-indexed-leg criterion). This is what letsprod()/sum() freely combine a flat operand (e.g. a bare 3-center DF integral) with a nested one (e.g. a CSV/PNO coefficient), exactly as real CSV-CCSD terms do, without either side needing to know the other’s concrete type.