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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -