mat-misc.hpp File Reference

Go to the source code of this file.

Functions

mat trans (const mat &m)
void swap (mat &v1, mat &v2)


Function Documentation

mat trans const mat m  )  [inline]
 

return its transposed matrix

Definition at line 3 of file mat-misc.hpp.

00004 {
00005   return mat( m.xx, m.yx, m.zx,
00006               m.xy, m.yy, m.zy,
00007               m.xz, m.yz, m.zz );
00008 }

void swap mat v1,
mat v2
[inline]
 

swap two mats

Definition at line 12 of file mat-misc.hpp.

00013 {
00014   mat _v1(v1);
00015   v1 = v2;
00016   v2 =_v1;
00017 }


Generated on Tue Mar 15 16:02:38 2005 for QVM by  doxygen 1.4.1