• Home
  • Raw
  • Download

Lines Matching refs:cross

32   VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v1), Scalar(1));  in orthomethods_3()
33 VERIFY_IS_MUCH_SMALLER_THAN(v1.dot(v1.cross(v2)), Scalar(1)); in orthomethods_3()
34 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(v2).dot(v2), Scalar(1)); in orthomethods_3()
35 VERIFY_IS_MUCH_SMALLER_THAN(v2.dot(v1.cross(v2)), Scalar(1)); in orthomethods_3()
36 VERIFY_IS_MUCH_SMALLER_THAN(v1.cross(Vector3::Random()).dot(v1), Scalar(1)); in orthomethods_3()
39 (v0.cross(v1)).normalized(), in orthomethods_3()
40 (v0.cross(v1).cross(v0)).normalized(); in orthomethods_3()
44 VERIFY_IS_APPROX(v0.cross(mat3*v1), -(mat3*v1).cross(v0)); in orthomethods_3()
45 VERIFY_IS_APPROX(v0.cross(mat3.lazyProduct(v1)), -(mat3.lazyProduct(v1)).cross(v0)); in orthomethods_3()
52 mcross = mat3.colwise().cross(vec3); in orthomethods_3()
53 VERIFY_IS_APPROX(mcross.col(i), mat3.col(i).cross(vec3)); in orthomethods_3()
55 …VERIFY_IS_MUCH_SMALLER_THAN((mat3.adjoint() * mat3.colwise().cross(vec3)).diagonal().cwiseAbs().su… in orthomethods_3()
56 …VERIFY_IS_MUCH_SMALLER_THAN((mat3.adjoint() * mat3.colwise().cross(Vector3::Random())).diagonal().… in orthomethods_3()
58 …VERIFY_IS_MUCH_SMALLER_THAN((vec3.adjoint() * mat3.colwise().cross(vec3)).cwiseAbs().sum(), Scalar… in orthomethods_3()
59 …VERIFY_IS_MUCH_SMALLER_THAN((vec3.adjoint() * Matrix3::Random().colwise().cross(vec3)).cwiseAbs().… in orthomethods_3()
61 mcross = mat3.rowwise().cross(vec3); in orthomethods_3()
62 VERIFY_IS_APPROX(mcross.row(i), mat3.row(i).cross(vec3)); in orthomethods_3()
69 v42.template head<3>() = v40.template head<3>().cross(v41.template head<3>()); in orthomethods_3()
76 VERIFY_IS_APPROX(v1.cross(rv1.template cast<Scalar>()), v1.cross(rv1)); in orthomethods_3()
77 VERIFY_IS_APPROX(rv1.template cast<Scalar>().cross(v1), rv1.cross(v1)); in orthomethods_3()
109 mcross3N = mat3N.colwise().cross(vec3); in orthomethods()
110 VERIFY_IS_APPROX(mcross3N.col(i), mat3N.col(i).cross(vec3)); in orthomethods()
114 mcrossN3 = matN3.rowwise().cross(vec3); in orthomethods()
115 VERIFY_IS_APPROX(mcrossN3.row(i), matN3.row(i).cross(vec3)); in orthomethods()