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

◆ IM2_Matrix_submatrix1()

const Matrix * IM2_Matrix_submatrix1 ( const Matrix * M,
M2_arrayint cols )

Definition at line 493 of file matrix.cpp.

495{
496 try
497 {
498 return M->sub_matrix(cols);
499 } catch (const exc::engine_error& e)
500 {
501 ERROR(e.what());
502 return nullptr;
503 }
504}
Matrix * sub_matrix(M2_arrayint r, M2_arrayint c) const
Definition matrix.cpp:470
const int ERROR
Definition m2-mem.cpp:55

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