Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Beta/Math/Vector/NotDone/Matrix44.cpp File Reference

Go to the source code of this file.

Functions

Matrix4By4 operator * (const Matrix4By4 &m1, const Matrix4By4 &m2)


Function Documentation

Matrix4By4 operator * const Matrix4By4   m1,
const Matrix4By4   m2
 

Definition at line 78 of file Matrix44.cpp.

00079 {
00080     Matrix4By4 mResult;
00081 
00082     mResult.Zero();
00083     for (j2klib::TCard4 c4Outer = 0; c4Outer < 4; c4Outer++)
00084     {
00085   for (j2klib::TCard4 c4Inner = 0; c4Inner < 4; c4Inner++)
00086   {
00087       for (j2klib::TCard4 c4Element = 0; c4Element < 4; c4Element++)
00088     mResult.jMatrix[c4Outer][c4Inner]
00089       += (m1.jMatrix[c4Outer][c4Element]
00090           * m2.jMatrix[c4Element][c4Inner]);
00091   }
00092     }
00093     return mResult;
00094 }


Generated on Sun Oct 14 18:47:00 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001