Design #920
Empty matrix: warning, error, or empty matrix?
Start date:
08 Sep 2016
Due date:
% Done:
10%
Estimated time:
Description
Currenty matrix([[]])
returns matrix(QQ, [[]])
(1 row, 0 cols) and matrix([])
gives error (I've just made a "better" error for this case).
This asymmetry is not good.
I think in CoCoA-5 (as opposed to CoCoALib) we could have matrix([[]])
returning an empty matrix (0 rows and cols) instead of an error.