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

◆ basis()

const Matrix * Matrix::basis ( M2_arrayint lo_degree,
M2_arrayint hi_degree,
M2_arrayint wt,
M2_arrayint vars,
bool do_truncation,
int limit ) const

Definition at line 582 of file matrix-kbasis.cpp.

588{
589 auto heft = M2_arrayint_to_stdvector<int>(heftvec);
590 auto vars = M2_arrayint_to_stdvector<int>(varlist);
591 return KBasis::k_basis(
592 this, lo_degree, hi_degree, heft, vars, do_truncation, limit);
593}
static Matrix * k_basis(const Matrix *bottom, M2_arrayint lo_degree, M2_arrayint hi_degree, std::vector< int > heftvec, std::vector< int > varlist, bool do_truncation, int limit)
std::vector< T > M2_arrayint_to_stdvector(M2_arrayint arr)
Definition util.hpp:96

References basis(), KBasis::k_basis(), M2_arrayint_to_stdvector(), and Matrix().

Referenced by basis().