Hello@all,
I need to perform a matrix multiplication with 3 3x3 matrices in c#. There are some algorithms out there but I´m afraid that my programming skills are not quite enough yet to modify them according to my needs.
I would be grateful for any hints & suggestions.
Regards
V.
Loading
VulpesPosted Aug 30, 2013, 10:56 AM
http://www.bratched.com/en/home/dotnet/48-fun-with-matrix-multiplication-and-unsafe-code.html
Unless you have an interest in doing this as fast as possible you can ignore the 'unsafe' code multiplication method.
The code can either be used as it stands or you can easily modify it so that it only relates to 3 x 3 matrices.
To multiply 3 matrices, you would need of course to multiply the first two and then multiply the result by the third.
Vladimir GajicPosted Sep 2, 2013, 6:31 AM
Regards
Vladimir
Nitesh KejriwalPosted Aug 30, 2013, 10:56 AM
Check this -
http://msdn.microsoft.com/en-us/library/system.windows.media.matrix.multiply.aspx