Hi,
I was just reminded that in version 2019d nested arrays were introduced.
Some small issues related to that:
- The keyword "arrays" works but isn't syntax-colored.
(Note to self: This would also have to be considered when pushing an
update to the hansl definitions for the listings package for Latex.)
- Section 10.8 of the guide seems to imply you can also use defarray()
to create a nested array. However, the following doesn't work for me:
<hansl>
matrices M = defarray(I(2))
arrays AM = array(1) # works
AM[1] = M # works
AM += M # works
delete AM
arrays AM = defarray(M) # error about wrong datatype
</hansl>
It seems to me either it's a bug or we should clarify the documentation.
thanks
sven
Show replies by date