Go to the documentation of this file.00001
00002
00003 template<long m, long n>
00004 inline zgematrix_small<m,n>::zgematrix_small()
00005 {VERBOSE_REPORT;
00006 ;
00007 }
00008
00009
00010
00011 template<long m, long n>
00012 inline zgematrix_small<m,n>::zgematrix_small(const zgematrix& mat)
00013 {VERBOSE_REPORT;
00014 #ifdef CPPL_DEBUG
00015 if( m!=mat.m || n!=mat.n ){
00016 ERROR_REPORT;
00017 std::cerr << "Matrix sizes must be the same." << std::endl
00018 << "Your input was " << m << "x" << n << " and " << mat.m << "x" << mat.n << "." << std::endl;
00019 exit(1);
00020 }
00021 #endif//CPPL_DEBUG
00022
00023 for(long k=0; k<m*n; k++){
00024 array[k] =mat.array[k];
00025 }
00026 }
00027
00028
00029
00030 template<long m, long n>
00031 inline zgematrix_small<m,n>::zgematrix_small(const comple& x)
00032 {VERBOSE_REPORT;
00033 for(long k=0; k<m*n; k++){
00034 array[k] =x;
00035 }
00036 }
00037
00038
00039
00040
00041
00042
00043
00044 template<long m, long n>
00045 inline zgematrix_small<m,n>::~zgematrix_small()
00046 {VERBOSE_REPORT;
00047 ;
00048 }