Macaulay2 Engine
Loading...
Searching...
No Matches
◆
IM2_Matrix_submatrix()
const
Matrix
* IM2_Matrix_submatrix
(
const
Matrix
*
M
,
M2_arrayint
rows
,
M2_arrayint
cols
)
Definition at line
479
of file
matrix.cpp
.
482
{
483
try
484
{
485
return
M->
sub_matrix
(rows, cols);
486
}
catch
(
const
exc::engine_error
& e)
487
{
488
ERROR
(e.what());
489
return
nullptr
;
490
}
491
}
Matrix::sub_matrix
Matrix * sub_matrix(M2_arrayint r, M2_arrayint c) const
Definition
matrix.cpp:470
ERROR
const int ERROR
Definition
m2-mem.cpp:55
exc::engine_error
Definition
exceptions.hpp:42
References
ERROR
,
Matrix
, and
Matrix::sub_matrix()
.
Macaulay2
e
interface
matrix.cpp
Generated on
for Macaulay2 Engine by
1.15.0