News for hackers. Stuff that matters.
Re:Nim for scientific computing: Back to the future by approbatory on Wednesday October 21, 2015 @08:24PM (#10429757)
In the comparison with torch you are translating x:dot(y) as x * y, but it should be x.t() * y
Re:Nim for scientific computing: Back to the future by pathsjs on Thursday October 22, 2015 @04:26AM (#10431043)
No, it is right like that. In linalg, * on vectors is the scalar product. I have designed linalg to agree with mathematical conventions, rather than numpy conventions.