4 for (
unsigned int i=0;i<4;i++){
26 return (
mA[0]*m2(0)+
mA[1]*m2(1)+
mA[2]*m2(2)+
mA[3]*m2(3));
33 mA[0]*m2(0,1)+
mA[1]*m2(1,1)+
mA[2]*m2(2,1)+
mA[3]*m2(3,1),
34 mA[0]*m2(0,2)+
mA[1]*m2(1,2)+
mA[2]*m2(2,2)+
mA[3]*m2(3,2),
35 mA[0]*m2(0,3)+
mA[1]*m2(1,3)+
mA[2]*m2(2,3)+
mA[3]*m2(3,3));
42 cout <<
"DMatrix1x4:" <<endl;
43 cout <<
" | 0 | 1 | 2 | 3 |" <<endl;
44 cout <<
"------------------------------------------------------" <<endl;
46 for (
unsigned int j=0;j<4;j++){
47 cout <<setw(11)<<setprecision(4)<<
mA[j]<<
" ";
DMatrix1x4 operator*(const DMatrix4x4 &m2)
double operator*(const DMatrix4x1 &m2)
DMatrix1x4(double c1, double c2, double c3, double c4)
double & operator()(int col)