Macaulay2 Engine
Loading...
Searching...
No Matches
SymmMatrix Class Reference

Helper that builds the p-th symmetric power of a 1-by-n matrix. More...

Static Public Member Functions

static MatrixsymmetricPower (const Matrix *m0, int p)

Private Member Functions

void symm1 (vec f, int lastn, int pow)
 SymmMatrix (const Matrix *m0, int p)
Matrixvalue ()

Private Attributes

int symm1_next
const RingR
int ncols
const Matrixm
MatrixConstructor result

Detailed Description

Helper that builds the p-th symmetric power of a 1-by-n matrix.

Note
AI-generated documentation. Verify against the source before relying on it.

Invoked through the static symmetricPower(m, p) entry point, which validates that the input has exactly one row and then runs the recursive multi-index walker. Each resulting column corresponds to a multiset of p columns of m whose entries are multiplied together — the standard symmetric-power-of-a- matrix construction. Used to implement the engine-side symmetricPower matrix operation.

Definition at line 55 of file matrix-symm.cpp.


The documentation for this class was generated from the following file: