nelson-lang / nelson

The Nelson Programming Language
https://nelson-lang.github.io/nelson-website/
GNU Lesser General Public License v3.0
92 stars 16 forks source link

Function "diag" may return wrong sub- or superdiagonals #1205

Closed rdbyk closed 4 months ago

rdbyk commented 4 months ago

Describe the bug

Screenshot from 2024-06-02 13-00-19

Desktop (please complete the following information):

Nelson-numerical-software commented 4 months ago

result expected: diag(A,3)' == diag(A,4)' diag(A,n) with n > size(A,2)

Nelson-numerical-software commented 4 months ago

@rdbyk thanks :)