Hope these links helps you...

Matrix Decomposition[^]

C# Matrix Library[^]

Matrix multiplication[^]

Regards

15,999,229 members

Hope these links helps you...

Matrix Decomposition[^]

C# Matrix Library[^]

Matrix multiplication[^]

Regards

Matrix Decomposition[^]

C# Matrix Library[^]

Matrix multiplication[^]

Regards

Permalink

Share this answer

Comments

Matt T Heffron
12-Sep-14 12:24pm

See also: Math.Net Numerics which is Open Source (MIT/X11 License)

Please see my comment to the question.

First, matrix multiplication is quite a trivial mathematical operation. Please see, for example: http://en.wikipedia.org/wiki/Matrix_multiplication[^].

To code it, just act by definition.

Now, you can define appropriate operator '*' and use is exactly like in your

http://en.wikipedia.org/wiki/Operator_overloading[^];

C++:

http://www.learncpp.com/cpp-tutorial/91-introduction-to-operator-overloading[^],

http://www.learncpp.com/cpp-tutorial/92-overloading-the-arithmetic-operators[^],

http://en.wikibooks.org/wiki/C++_Programming/Operators/Operator_Overloading[^],

C#:

http://msdn.microsoft.com/en-us/library/8edha89s.aspx[^],

http://msdn.microsoft.com/en-us/library/aa288467%28v=vs.71%29.aspx[^] (old but quite usable).

—SA

First, matrix multiplication is quite a trivial mathematical operation. Please see, for example: http://en.wikipedia.org/wiki/Matrix_multiplication[^].

To code it, just act by definition.

Now, you can define appropriate operator '*' and use is exactly like in your

`A=M*N`

sample. This is all you need:http://en.wikipedia.org/wiki/Operator_overloading[^];

C++:

http://www.learncpp.com/cpp-tutorial/91-introduction-to-operator-overloading[^],

http://www.learncpp.com/cpp-tutorial/92-overloading-the-arithmetic-operators[^],

http://en.wikibooks.org/wiki/C++_Programming/Operators/Operator_Overloading[^],

C#:

http://msdn.microsoft.com/en-us/library/8edha89s.aspx[^],

http://msdn.microsoft.com/en-us/library/aa288467%28v=vs.71%29.aspx[^] (old but quite usable).

Permalink

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject,
20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8
+1 (416) 849-8900

—SA