It is currently not possible to evaluate if an array of matrices is equal to null or not. Here is an example code snippet. For the list this works fine, for the matrices it doesn’t.
<hansl>
matrices ttt = null
list lll = null
/*
if ttt==null
print "bla"
else
print "blub"
endif
*/
if lll==null
print "blalll"
else
print "blublll"
endif
</hansl>
I came upon this when trying to set up a function with the following head (data can be passed as series’ or 2d-matrices (x,y) ):
<hansl>
function bundle series_to_bundle(list ls[null], series obskey[null], matrices ms[null])
#transform series in bundle of two matrices, the key and the data
…
</hansl>