Mar 31, 2011 at 10:38 PM
Edited Mar 31, 2011 at 10:39 PM

Greetings,
I am new to Mathnet and I am implimenting a simple explicit euler method.
For some reason I cannot perform a MatrixVector Multiplication here (in red) without
the following error:
Error 1 Operator '*' cannot be applied to operands of type 'MathNet.Numerics.LinearAlgebra.Matrix' and 'MathNet.Numerics.LinearAlgebra.Vector' C:\Users\David Ryan Eng Tool\Documents\Visual Studio 2008\Projects\1D Heat Eq\1D Heat Eq\Program.cs 81 21 1D
Heat Eq
for
(int i = 0; i < N; i++) {
Matrix B = A*C + I;
u = B * u;
}
Any quick fixes?
Regards,
David_R



Hi David
Just to clarify, are you using Math.NET Iridium or Math.NET Numerics?
Thanks,
Chris



Hi Chris
I am using Math.NET numerics
Thanks,
David


Apr 1, 2011 at 12:16 AM
Edited Apr 1, 2011 at 7:49 AM

Problem Solved. I just converted from vector to matrix type. Code works fine. Thank you.

