I am not sure if this question has been placed before.
I run the following
<hansl>
set verbose off
set seed 1059999
scalar n = 5
scalar k = 5
matrix A = mrandgen(i,-4,4,n,k)
scalar a = -15
print A
eval a*A
B=a*A
print B
</hansl>
which evaluates a -0 in a*A[4,2] position or prints zero in B[4,2] position. Can this be avoided?
Yiannis