c# - ilnumerics matrix multiplication operator -


ilnumerics great, , it. however, matrix multiplication operator * set ilmath.multiplyelem, element wise multiplication. wonder why not make ilmath.multiply, normal matrix multiplication consistent matlab, , more natural use. in mathematics, element wise multiplication less used. think better change * behavior normal matrix multiplication.

here common examples, suggestion give less convenience:

ilarray<double> = rand(100,200) * 10 - 5;   // square of a = * a;   // multidimensional arrays rand(10,20,5) * ...  // vector expansion b = * linspace(0.0, 9.0, 100);  

in mathematics, element wise multiplication less used

are positive that? heavily depends on domain, suppose.

the decision has been discussed. , suggestion major breaking change. can open feature request , collect votes it:

http://ilnumerics.net/mantis


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -