privatestaticvoid dMultiplyHelper0_331(DVector3 res, DMatrix3C a, DVector3C b) {
double res_0 = a.dotRow(0, b);
double res_1 = a.dotRow(1, b);
double res_2 = a.dotRow(2, b);
/* Only assign after all the calculations are over to avoid incurring memory aliasing*/ res.set(res_0, res_1, res_2);
}
privatestaticvoid dMultiplyHelper0_331(DVector3 res, DMatrix3C a, DVector3C b) {
double res_0 = a.dotRow(0, b);
double res_1 = a.dotRow(1, b);
double res_2 = a.dotRow(2, b);
/* Only assign after all the calculations are over to avoid incurring memory aliasing*/ res.set(res_0, res_1, res_2);
}
privatestaticvoid dMULTIPLYOP0_331(DMatrix3 A, DMatrix3C B, DVector3C C) {
//DMatrix3 B = (DMatrix3) B2; A.set00( B.dotRow(0, C) );
A.set01( B.dotRow(1, C) );
A.set02( B.dotRow(2, C) );
}
//TZ
privatestaticvoid dMULTIPLYOP0_331(DVector3 A, DMatrix3C B, double[] C, int c) {
A.set0( B.dotRow(0, C, c) );//dDOT(B.v, 0, C, c) ); A.set1( B.dotRow(1, C, c) );//dDOT(B.v, 4, C, c) ); A.set2( B.dotRow(2, C, c) );//dDOT(B.v, 8, C, c) );}
//TZ
privatestaticvoid dMULTIPLYOP0_331(DVector3 A, DMatrix3C B, double[] C, int c) {
A.set0( B.dotRow(0, C, c) );//dDOT(B.v, 0, C, c) ); A.set1( B.dotRow(1, C, c) );//dDOT(B.v, 4, C, c) ); A.set2( B.dotRow(2, C, c) );//dDOT(B.v, 8, C, c) );}
//TZ
privatestaticvoid dMULTIPLYOP0_331(DMatrix3 A, DMatrix3C B, DVector3C C) {
//DMatrix3 B = (DMatrix3) B2; A.set00( B.dotRow(0, C) );
A.set01( B.dotRow(1, C) );
A.set02( B.dotRow(2, C) );
}
//TZ