|
Macaulay2 Engine
|
Helper functor that builds the n-th symmetric power of a FreeModule by recursively walking multi-indices. More...
Public Member Functions | |
| void | symm1 (int lastn, int pow) const |
| FreeModule_symm (const FreeModule *F0, int n0) | |
| FreeModule * | value () |
Public Attributes | |
| const FreeModule * | F |
| const Monoid * | D |
| int | n |
| FreeModule * | symm1_result |
| monomial | symm1_deg |
Helper functor that builds the n-th symmetric power of a FreeModule by recursively walking multi-indices.
symm1(lastn, pow) walks every weakly increasing index sequence of length pow starting at lastn, accumulating their degree shifts in symm1_deg and appending the resulting component to symm1_result. The wrapper symm() (defined in the .cpp) seeds the recursion with pow = n. Used only inside freemod.cpp's Symm implementation.
Definition at line 345 of file freemod.cpp.