Lines Matching refs:Scalar
13 template<typename Scalar> void smallVectors() in smallVectors()
15 typedef Matrix<Scalar, 1, 2> V2; in smallVectors()
16 typedef Matrix<Scalar, 3, 1> V3; in smallVectors()
17 typedef Matrix<Scalar, 1, 4> V4; in smallVectors()
18 typedef Matrix<Scalar, Dynamic, 1> VX; in smallVectors()
19 Scalar x1 = internal::random<Scalar>(), in smallVectors()
20 x2 = internal::random<Scalar>(), in smallVectors()
21 x3 = internal::random<Scalar>(), in smallVectors()
22 x4 = internal::random<Scalar>(); in smallVectors()
36 if (!NumTraits<Scalar>::IsInteger) in smallVectors()
40 VERIFY_RAISES_ASSERT(V3(Scalar(3), 1)) in smallVectors()
41 VERIFY_RAISES_ASSERT(V3(3, Scalar(1))) in smallVectors()
42 VERIFY_RAISES_ASSERT(V3(Scalar(3), Scalar(1))) in smallVectors()
43 VERIFY_RAISES_ASSERT(V3(Scalar(123), Scalar(123))) in smallVectors()
47 VERIFY_RAISES_ASSERT(V4(1, Scalar(4))) in smallVectors()
48 VERIFY_RAISES_ASSERT(V4(Scalar(1), 4)) in smallVectors()
49 VERIFY_RAISES_ASSERT(V4(Scalar(1), Scalar(4))) in smallVectors()
50 VERIFY_RAISES_ASSERT(V4(Scalar(123), Scalar(123))) in smallVectors()
53 VERIFY_RAISES_ASSERT(VX(Scalar(3), 1)) in smallVectors()
54 VERIFY_RAISES_ASSERT(VX(3, Scalar(1))) in smallVectors()
55 VERIFY_RAISES_ASSERT(VX(Scalar(3), Scalar(1))) in smallVectors()
56 VERIFY_RAISES_ASSERT(VX(Scalar(123), Scalar(123))) in smallVectors()