Macaulay2 Engine
Loading...
Searching...
No Matches

◆ symmetricPower()

Matrix * SymmMatrix::symmetricPower ( const Matrix * m0,
int p )
inlinestatic

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

59 {
60 if (m0->n_rows() != 1)
61 {
62 ERROR("expected one row");
63 return nullptr;
64 }
65
66 SymmMatrix s(m0, p);
67 return s.value();
68 }
int n_rows() const
Definition matrix.hpp:146
SymmMatrix(const Matrix *m0, int p)
int p
void size_t s
Definition m2-mem.cpp:271
const int ERROR
Definition m2-mem.cpp:55

References ERROR, Matrix, Matrix::n_rows(), p, s, and SymmMatrix().

Referenced by Matrix::symm().