• Home
  • Raw
  • Download

Lines Matching refs:mat

103 	static T						doDeterminant	(const Matrix<T, Size, Size>& mat);
104 static Matrix<T, Size, Size> doInverse (const Matrix<T, Size, Size>& mat);
110 static T doDeterminant (const Matrix<T, 2, 2>& mat);
111 static Matrix<T, 2, 2> doInverse (const Matrix<T, 2, 2>& mat);
117 static T doDeterminant (const Matrix<T, 3, 3>& mat);
118 static Matrix<T, 3, 3> doInverse (const Matrix<T, 3, 3>& mat);
124 static T doDeterminant (const Matrix<T, 4, 4>& mat);
125 static Matrix<T, 4, 4> doInverse (const Matrix<T, 4, 4>& mat);
132 T determinant (const Matrix<T, Size, Size>& mat) in determinant() argument
134 return SquareMatrixOps<T, Size>::doDeterminant(mat); in determinant()
138 Matrix<T, Size, Size> inverse (const Matrix<T, Size, Size>& mat) in inverse() argument
140 return SquareMatrixOps<T, Size>::doInverse(mat); in inverse()
148 T SquareMatrixOps<T, 2>::doDeterminant (const Matrix<T, 2, 2>& mat) in doDeterminant() argument
150 return mat(0,0) * mat(1,1) - mat(1,0) * mat(0,1); in doDeterminant()
154 T SquareMatrixOps<T, 3>::doDeterminant (const Matrix<T, 3, 3>& mat) in doDeterminant() argument
156 return + mat(0,0) * mat(1,1) * mat(2,2) in doDeterminant()
157 + mat(0,1) * mat(1,2) * mat(2,0) in doDeterminant()
158 + mat(0,2) * mat(1,0) * mat(2,1) in doDeterminant()
159 - mat(0,0) * mat(1,2) * mat(2,1) in doDeterminant()
160 - mat(0,1) * mat(1,0) * mat(2,2) in doDeterminant()
161 - mat(0,2) * mat(1,1) * mat(2,0); in doDeterminant()
165 T SquareMatrixOps<T, 4>::doDeterminant (const Matrix<T, 4, 4>& mat) in doDeterminant() argument
172 mat(1,1), mat(2,1), mat(3,1), in doDeterminant()
173 mat(1,2), mat(2,2), mat(3,2), in doDeterminant()
174 mat(1,3), mat(2,3), mat(3,3), in doDeterminant()
177 mat(1,0), mat(2,0), mat(3,0), in doDeterminant()
178 mat(1,2), mat(2,2), mat(3,2), in doDeterminant()
179 mat(1,3), mat(2,3), mat(3,3), in doDeterminant()
182 mat(1,0), mat(2,0), mat(3,0), in doDeterminant()
183 mat(1,1), mat(2,1), mat(3,1), in doDeterminant()
184 mat(1,3), mat(2,3), mat(3,3), in doDeterminant()
187 mat(1,0), mat(2,0), mat(3,0), in doDeterminant()
188 mat(1,1), mat(2,1), mat(3,1), in doDeterminant()
189 mat(1,2), mat(2,2), mat(3,2), in doDeterminant()
193 return + mat(0,0) * determinant(Matrix<T, 3, 3>(minorMatrices[0])) in doDeterminant()
194 - mat(0,1) * determinant(Matrix<T, 3, 3>(minorMatrices[1])) in doDeterminant()
195 + mat(0,2) * determinant(Matrix<T, 3, 3>(minorMatrices[2])) in doDeterminant()
196 - mat(0,3) * determinant(Matrix<T, 3, 3>(minorMatrices[3])); in doDeterminant()
200 Matrix<T, 2, 2> SquareMatrixOps<T, 2>::doInverse (const Matrix<T, 2, 2>& mat) in doInverse() argument
204 const T det = determinant(mat); in doInverse()
207 retVal(0, 0) = mat(1, 1) / det; in doInverse()
208 retVal(0, 1) = -mat(0, 1) / det; in doInverse()
209 retVal(1, 0) = -mat(1, 0) / det; in doInverse()
210 retVal(1, 1) = mat(0, 0) / det; in doInverse()
216 Matrix<T, 3, 3> SquareMatrixOps<T, 3>::doInverse (const Matrix<T, 3, 3>& mat) in doInverse() argument
223 mat(0,0), mat(0,1), in doInverse()
224 mat(1,0), mat(1,1) in doInverse()
228 mat(0,2), in doInverse()
229 mat(1,2), in doInverse()
233 mat(2,0), mat(2,1), in doInverse()
237 mat(2,2) in doInverse()
265 Matrix<T, 4, 4> SquareMatrixOps<T, 4>::doInverse (const Matrix<T, 4, 4>& mat) in doInverse() argument
272 mat(0,0), mat(0,1), in doInverse()
273 mat(1,0), mat(1,1) in doInverse()
277 mat(0,2), mat(0,3), in doInverse()
278 mat(1,2), mat(1,3) in doInverse()
282 mat(2,0), mat(2,1), in doInverse()
283 mat(3,0), mat(3,1) in doInverse()
287 mat(2,2), mat(2,3), in doInverse()
288 mat(3,2), mat(3,3) in doInverse()