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

dgematrix-calc.hpp File Reference

Go to the source code of this file.

Functions

_dgematrix t (const dgematrix &mat)


Function Documentation

_dgematrix t const dgematrix mat  )  [inline]
 

return transposed dgematrix

Definition at line 16 of file dgematrix-calc.hpp.

References _dgematrix::M, dgematrix::M, _dgematrix::N, and dgematrix::N.

00017 {
00018   _dgematrix newmat(mat.N,mat.M);
00019   
00020   for(long i=0; i<newmat.M; i++){ for(long j=0; j<newmat.N; j++){
00021     newmat(i,j) =mat(j,i);
00022   }}
00023   
00024   return newmat;
00025 }


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