Lines Matching full:norm
48 // check basic properties of dot, norm, norm2
51 RealScalar ref = NumTraits<Scalar>::IsInteger ? RealScalar(0) : (std::max)((s1 * v1 + s2 * v2).norm(),v3.norm());
57 VERIFY_IS_APPROX(v1.squaredNorm(), v1.norm() * v1.norm());
59 VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized());
62 VERIFY_IS_APPROX(v1, v1.norm() * v3);
64 VERIFY_IS_APPROX(v3.norm(), RealScalar(1));
70 ref = NumTraits<Scalar>::IsInteger ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adjoint() * v1).norm()));
83 VERIFY_IS_APPROX(VectorType::Random(rows).normalized().norm(), RealScalar(1));