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

◆ rawKoszulMonomials()

const Matrix * rawKoszulMonomials ( int nskew,
const Matrix * M,
const Matrix * N )

Definition at line 518 of file matrix.cpp.

521{
522 try
523 {
524#ifdef DEVELOPMENT
525#warning "check with 0.9.2 about what this should even do"
526#endif
527 if (M->get_ring() != N->get_ring())
528 {
529 ERROR("expected same ring");
530 return nullptr;
531 }
532 return Matrix::koszul_monomials(nskew, M, N);
533 } catch (const exc::engine_error& e)
534 {
535 ERROR(e.what());
536 return nullptr;
537 }
538}
const Ring * get_ring() const
Definition matrix.hpp:134
static Matrix * koszul_monomials(int nskew, const Matrix *rows, const Matrix *cols)
Definition matrix.cpp:1162
const int ERROR
Definition m2-mem.cpp:55

References ERROR, Matrix::get_ring(), and Matrix.