Main Page | Class List | File List | Class Members | File Members | Related Pages

double-dgematrix.hpp File Reference

Go to the source code of this file.

Functions

_dgematrix operator * (const double &d, const dgematrix &mat)


Function Documentation

_dgematrix operator * const double &  d,
const dgematrix mat
[inline]
 

double*dgematrix operator

Definition at line 3 of file double-dgematrix.hpp.

References dgematrix::Array, _dgematrix::Array, dgematrix::M, dgematrix::Ml, dgematrix::N, and dgematrix::Nl.

00004 {
00005   _dgematrix newmat(mat.M, mat.N);
00006   for(int i=0; i<mat.Ml*mat.Nl; i++){ newmat.Array[i] =d*mat.Array[i]; }
00007   
00008   return newmat;
00009 }


Generated on Sat Jan 31 19:25:44 2004 for CPPScaLapack by doxygen 1.3.5