Project

General

Profile

Feature #1788

Updated by Anna Maria Bigatti about 2 months ago

I went through all the calls of submat in CoCoALib (not so many) and indeed most of them just select the *first rows*.

Should we have another MatrixView class called @FirstRows(M, long r)@?
Or, much easier to implement, a function called @FirstRows(M, long r)@?
(same for cols)

The implementation of a new MatrixView could be quite a bit simpler than the implementation of submat, but problably not worth the effort and "duplication" of code.

*2024-03* implemented as functions calling submat

Back