Implements MutableMatrix.
Definition at line 584 of file mutablemat-defs.hpp.
585 {
586 for (
size_t r = 0;
r <
rows->len;
r++)
588 {
590 "row index %d out of bounds 0..%d",
rows->array[
r],
n_rows() - 1);
591 return 0;
592 }
593 for (
size_t c = 0;
c <
cols->len;
c++)
595 {
596 ERROR(
"column index %d out of bounds 0..%d",
599 return 0;
600 }
604 }
virtual size_t n_rows() const
virtual size_t n_cols() const
MutableMat * makeZeroMatrix(size_t nrows, size_t ncols) const
References ERROR, getMat(), makeZeroMatrix(), MutableMat(), MutableMatrix::MutableMatrix(), n_cols(), n_rows(), and result().