mat-double.hpp File Reference

Go to the source code of this file.

Functions

mat operator * (const mat &m, const double &d)
mat operator/ (const mat &m, const double &d)


Function Documentation

mat operator * const mat m,
const double &  d
[inline]
 

mat*double operator

Definition at line 27 of file mat-double.hpp.

00028 {
00029   return mat( m.xx*d, m.xy*d, m.xz*d,
00030               m.yx*d, m.yy*d, m.yz*d,
00031               m.zx*d, m.zy*d, m.zz*d );
00032 }

mat operator/ const mat m,
const double &  d
[inline]
 

mat/double operator

Definition at line 36 of file mat-double.hpp.

00037 {
00038   return mat( m.xx/d, m.xy/d, m.xz/d,
00039               m.yx/d, m.yy/d, m.yz/d,
00040               m.zx/d, m.zy/d, m.zz/d );
00041 }


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