62 ERROR(
"expected one row");
85 for (
int i = lastn; i <
ncols; i++)
88 vec h =
R->copy_vec(f);
89 R->mult_vec_to(h, r,
false);
102 monomial dp =
R->degree_monoid()->make_new(
m->degree_shift());
103 R->degree_monoid()->power(dp,
p, dp);
109 vec f =
R->e_sub_i(0);
Engine-side free module R^n over a Ring.
Matrix(const FreeModule *rows, const FreeModule *cols, const_monomial degree_shift, VECTOR(vec) &entries)
Matrix * symm(int n) const
const FreeModule * rows() const
const FreeModule * cols() const
Mutable builder used to assemble an immutable Matrix one column (or one term) at a time.
void symm1(vec f, int lastn, int pow)
static Matrix * symmetricPower(const Matrix *m0, int p)
SymmMatrix(const Matrix *m0, int p)
MatrixConstructor — the mutable builder that produces an immutable Matrix.
Matrix — the engine's immutable homomorphism F -> G between free modules.