Mon 04 Sep 2017 01:14:15 PM UTC, original submission:
According to matlab documentation,
the function eye can be invoked without argument,
which is equivalent with calling eye(1).
The same is true for matlab, but this is not documented.
The second gap in documentation is the values for CLASS.
This is optional and defaults to 'double'.
Possible values should be
'double', 'single', logical, 'int8', 'uint8', 'int16', 'uint16', 'int32', 'uint32', 'int64', or 'uint64',
which all works properly in octave also without being documented.
The third and last gap is the return value.
Currently none is specified, which is wrong.
Changes must be done in libinterp/corefcn/data.cc
|