版本比较
集合幂级数全家桶
正文
增加 2 行删除 2 行
211 行未改动全部展开212213214215216216217218219220315 行未改动全部展开53653753853954054054154254354468 行未改动211 行未改动全部展开/** * calculate f(x) = oper(g(x)), where x^S * x^T = { 0 if S ∩ T != ∅ * { x^{S ∪ T} else * please offer f, g in ll[log len][len], where [x^S]g(x) is stored in g[|S|][S]. * * * @param oper The operation on sets. * Its type should be void (*) (ll *f, ll *g, int loglen) where f is the destination */template <typename ArrayType, typename Oper> // 理论上 ArrayType 应当是类似 (ll **) 或 (ll *[])315 行未改动全部展开 /** * calculate f(x) = oper(g(x)), where x^S * x^T = { 0 if S ∩ T != ∅ * { x^{S ∪ T} else * please offer f, g in ll[log len][len], where [x^S]g(x) is stored in g[|S|][S]. * * * @param oper The operation on sets. * Its type should be void (*) (ll *f, ll *g, int loglen) where f is the destination * Provided functions are exp_bf, ln_bf, inv_bf */68 行未改动