• Home
  • Raw
  • Download

Lines Matching refs:determinant

98   double determinant;  in InvertAffineCoefficients()  local
100 determinant=PerceptibleReciprocal(coeff[0]*coeff[4]-coeff[1]*coeff[3]); in InvertAffineCoefficients()
101 inverse[0]=determinant*coeff[4]; in InvertAffineCoefficients()
102 inverse[1]=determinant*(-coeff[1]); in InvertAffineCoefficients()
103 inverse[2]=determinant*(coeff[1]*coeff[5]-coeff[2]*coeff[4]); in InvertAffineCoefficients()
104 inverse[3]=determinant*(-coeff[3]); in InvertAffineCoefficients()
105 inverse[4]=determinant*coeff[0]; in InvertAffineCoefficients()
106 inverse[5]=determinant*(coeff[2]*coeff[3]-coeff[0]*coeff[5]); in InvertAffineCoefficients()
113 double determinant; in InvertPerspectiveCoefficients() local
115 determinant=PerceptibleReciprocal(coeff[0]*coeff[4]-coeff[3]*coeff[1]); in InvertPerspectiveCoefficients()
116 inverse[0]=determinant*(coeff[4]-coeff[7]*coeff[5]); in InvertPerspectiveCoefficients()
117 inverse[1]=determinant*(coeff[7]*coeff[2]-coeff[1]); in InvertPerspectiveCoefficients()
118 inverse[2]=determinant*(coeff[1]*coeff[5]-coeff[4]*coeff[2]); in InvertPerspectiveCoefficients()
119 inverse[3]=determinant*(coeff[6]*coeff[5]-coeff[3]); in InvertPerspectiveCoefficients()
120 inverse[4]=determinant*(coeff[0]-coeff[6]*coeff[2]); in InvertPerspectiveCoefficients()
121 inverse[5]=determinant*(coeff[3]*coeff[2]-coeff[0]*coeff[5]); in InvertPerspectiveCoefficients()
122 inverse[6]=determinant*(coeff[3]*coeff[7]-coeff[6]*coeff[4]); in InvertPerspectiveCoefficients()
123 inverse[7]=determinant*(coeff[6]*coeff[1]-coeff[0]*coeff[7]); in InvertPerspectiveCoefficients()