Colleagues: When defining Mata matrixes, do you have any favorite tricks you use to avoid the nonzero sum(d) result here:
I suppose a related question is: Is it ever preferable to use sum(.) instead of quadsum(.)?
Code:
: d=.25,.1,-.1,-.25 : sum(d) -2.77556e-17 : sum(d)==0 0 : quadsum(d) 0 : quadsum(d)==0 1
Comment