I have been porting some code that I had with my own Matrix<T> implementation but Math.Net is far more complete.
And I am wondering if there exists such a method here.
My code looked like this:
wu_v += Functions.Sum(v, Axis.Rows);
Where wu_v is a Matrix<T> and v is a Vector<T>. The alternative is to do:
wu_v = wu_v + ones * diag(v) or coding it by hand for performance, but I was wondering if there was such a construct already.
Federico
And I am wondering if there exists such a method here.
My code looked like this:
wu_v += Functions.Sum(v, Axis.Rows);
Where wu_v is a Matrix<T> and v is a Vector<T>. The alternative is to do:
wu_v = wu_v + ones * diag(v) or coding it by hand for performance, but I was wondering if there was such a construct already.
Federico