18 for(
int i = 0;
i < 24; ++
i)
33 double error_sum = 0., error_max = 0.;
39 m = MatrixType::Random();
41 }
while(!is_invertible);
43 double error = double( (
m*inv-MatrixType::Identity()).norm());
47 std::cerr <<
"inverse_general_4x4, Scalar = " << type_name<Scalar>() << std::endl;
48 double error_avg = error_sum /
repeat;
65 mat.template block<4,4>(
i,
j) = submat.inverse();