Function sequant::eval::dryrun::detail::csv_moment

Function Documentation

inline double sequant::eval::dryrun::detail::csv_moment(MomentTable const &osv, MomentTable const &pno, std::map<std::size_t, MomentTable> const &by_rank, std::size_t rank, std::size_t k)
Returns:

the k-th power mean of the rank-rank cluster domain from the rank-1 table osv, the rank-2 table pno and the rank >= 3 tables by_rank: osv for rank <= 1, pno for rank 2, by_rank[rank] for a rank >= 3 that has a table, else pno (an entry of by_rank for rank 1 or 2 is ignored)

Pre:

k in [1, kMaxCompositeGroup]; SizeRegime::inner_pow() rejects any other k before it gets here