23 return (
mA[0]*m2(0)+
mA[1]*m2(1));
30 mA[0]*m2(0,1)+
mA[1]*m2(1,1));
37 cout <<
"DMatrix1x2:" <<endl;
38 cout <<
" | 0 | 1 |" <<endl;
39 cout <<
"------------------------------" <<endl;
41 for (
unsigned int j=0;j<2;j++){
42 cout <<setw(11)<<setprecision(4)<<
mA[j]<<
" ";
double operator*(const DMatrix2x1 &m2)
DMatrix1x2(double c1, double c2)
DMatrix1x2 operator*(const DMatrix2x2 &m2)
double & operator()(int col)