184 result.coeffRef(0, 0) = cofactor_4x4<MatrixType, 0, 0>(
matrix);
185 result.coeffRef(1, 0) = -cofactor_4x4<MatrixType, 0, 1>(
matrix);
186 result.coeffRef(2, 0) = cofactor_4x4<MatrixType, 0, 2>(
matrix);
187 result.coeffRef(3, 0) = -cofactor_4x4<MatrixType, 0, 3>(
matrix);
188 result.coeffRef(0, 2) = cofactor_4x4<MatrixType, 2, 0>(
matrix);
189 result.coeffRef(1, 2) = -cofactor_4x4<MatrixType, 2, 1>(
matrix);
190 result.coeffRef(2, 2) = cofactor_4x4<MatrixType, 2, 2>(
matrix);
191 result.coeffRef(3, 2) = -cofactor_4x4<MatrixType, 2, 3>(
matrix);
192 result.coeffRef(0, 1) = -cofactor_4x4<MatrixType, 1, 0>(
matrix);
193 result.coeffRef(1, 1) = cofactor_4x4<MatrixType, 1, 1>(
matrix);
194 result.coeffRef(2, 1) = -cofactor_4x4<MatrixType, 1, 2>(
matrix);
195 result.coeffRef(3, 1) = cofactor_4x4<MatrixType, 1, 3>(
matrix);
196 result.coeffRef(0, 3) = -cofactor_4x4<MatrixType, 3, 0>(
matrix);
197 result.coeffRef(1, 3) = cofactor_4x4<MatrixType, 3, 1>(
matrix);
198 result.coeffRef(2, 3) = -cofactor_4x4<MatrixType, 3, 2>(
matrix);
199 result.coeffRef(3, 3) = cofactor_4x4<MatrixType, 3, 3>(
matrix);
200 result /= (
matrix.col(0).cwiseProduct(result.row(0).transpose())).sum();
Eigen::Map< Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor >, 0, Eigen::OuterStride<> > matrix(T *data, int rows, int cols, int stride)
Definition: common.h:85