4 for (
unsigned int i=0;i<3;i++){
25 return (
mA[0]*m2(0)+
mA[1]*m2(1)+
mA[2]*m2(2));
32 mA[0]*m2(0,1)+
mA[1]*m2(1,1)+
mA[2]*m2(2,1),
33 mA[0]*m2(0,2)+
mA[1]*m2(1,2)+
mA[2]*m2(2,2));
40 cout <<
"DMatrix1x3:" <<endl;
41 cout <<
" | 0 | 1 | 2 |" <<endl;
42 cout <<
"------------------------------------------------------" <<endl;
44 for (
unsigned int j=0;j<3;j++){
45 cout <<setw(11)<<setprecision(4)<<
mA[j]<<
" ";
DMatrix1x3(double c1, double c2, double c3)
double & operator()(int col)
double operator*(const DMatrix3x1 &m2)
DMatrix1x3 operator*(const DMatrix3x3 &m2)