HomeSort by relevance Sort by last modified time
    Searched full:vectortype (Results 1 - 25 of 211) sorted by null

1 2 3 4 5 6 7 8 9

  /external/eigen/test/
map.cpp 16 template<typename VectorType> void map_class_vector(const VectorType& m)
18 typedef typename VectorType::Index Index;
19 typedef typename VectorType::Scalar Scalar;
29 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size);
30 Map<VectorType, Aligned>(array2, size) = Map<VectorType,Aligned>(array1, size);
31 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array1, size)
    [all...]
geo_parametrizedline.cpp 25 typedef Matrix<Scalar, LineType::AmbientDimAtCompileTime, 1> VectorType;
30 VectorType p0 = VectorType::Random(dim);
31 VectorType p1 = VectorType::Random(dim);
33 VectorType d0 = VectorType::Random(dim).normalized();
55 VectorType p2 = VectorType::Random(dim);
56 VectorType n2 = VectorType::Random(dim).normalized()
    [all...]
geo_alignedbox.cpp 26 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType;
30 VectorType p0 = VectorType::Random(dim);
31 VectorType p1 = VectorType::Random(dim);
33 p1 = VectorType::Random(dim); }
37 BoxType b1(VectorType::Random(dim),VectorType::Random(dim));
60 VectorType r = b0.sample();
75 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType;
    [all...]
dontalign.cpp 24 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
32 VectorType v = VectorType::Random(rows);
44 v = VectorType::MapAligned(array, rows);
miscmatrices.cpp 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
28 VectorType v1 = VectorType::Random(rows);
35 square.diagonal() = VectorType::Ones(rows);
sizeoverflow.cpp 31 template<typename VectorType>
34 VERIFY_THROWS_BADALLOC( VectorType v(size) );
35 VERIFY_THROWS_BADALLOC( VectorType v; v.resize(size) );
36 VERIFY_THROWS_BADALLOC( VectorType v; v.conservativeResize(size) );
zerosized.cpp 32 template<typename VectorType> void zeroSizedVector()
34 VectorType t1;
36 if (VectorType::SizeAtCompileTime == Dynamic)
39 VectorType t2(DenseIndex(0)); // DenseIndex disambiguates with 0-the-null-pointer (error with gcc 4.4 and MSVC8)
geo_hyperplane.cpp 26 typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime, 1> VectorType;
30 VectorType p0 = VectorType::Random(dim);
31 VectorType p1 = VectorType::Random(dim);
33 VectorType n0 = VectorType::Random(dim).normalized();
34 VectorType n1 = VectorType::Random(dim).normalized();
54 DiagonalMatrix<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random())
    [all...]
  /external/eigen/test/eigen2/
eigen2_map.cpp 12 template<typename VectorType> void map_class_vector(const VectorType& m)
14 typedef typename VectorType::Scalar Scalar;
24 Map<VectorType, Aligned>(array1, size) = VectorType::Random(size);
25 Map<VectorType>(array2, size) = Map<VectorType>(array1, size);
26 Map<VectorType>(array3unaligned, size) = Map<VectorType>((const Scalar*)array1, size); // test non-const-correctness support in eigen2
27 VectorType ma1 = Map<VectorType>(array1, size)
    [all...]
eigen2_alignedbox.cpp 24 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType;
26 VectorType p0 = VectorType::Random(dim);
27 VectorType p1 = VectorType::Random(dim);
31 BoxType b1(VectorType::Random(dim),VectorType::Random(dim));
eigen2_regression.cpp 13 template<typename VectorType,
16 VectorType **points,
18 typename VectorType::Scalar noiseAmplitude)
20 typedef typename VectorType::Scalar Scalar;
34 VectorType& cur_point = *(points[i]);
37 cur_point = VectorType::Random(size)/*.normalized()*/;
47 *(points[i]) += noiseAmplitude * VectorType::Random(size);
50 template<typename VectorType>
52 VectorType **points,
53 const VectorType& original
    [all...]
eigen2_parametrizedline.cpp 25 typedef Matrix<Scalar, LineType::AmbientDimAtCompileTime, 1> VectorType;
29 VectorType p0 = VectorType::Random(dim);
30 VectorType p1 = VectorType::Random(dim);
32 VectorType d0 = VectorType::Random(dim).normalized();
eigen2_miscmatrices.cpp 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
28 VectorType v1 = VectorType::Random(rows);
35 square.diagonal() = VectorType::Ones(rows);
eigen2_nomalloc.cpp 28 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
41 VectorType v1 = VectorType::Random(rows),
42 v2 = VectorType::Random(rows),
43 vzero = VectorType::Zero(rows);
eigen2_sum.cpp 28 template<typename VectorType> void vectorSum(const VectorType& w)
30 typedef typename VectorType::Scalar Scalar;
33 VectorType v = VectorType::Random(size);
eigen2_hyperplane.cpp 25 typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime, 1> VectorType;
29 VectorType p0 = VectorType::Random(dim);
30 VectorType p1 = VectorType::Random(dim);
32 VectorType n0 = VectorType::Random(dim).normalized();
33 VectorType n1 = VectorType::Random(dim).normalized();
53 Scaling<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random())
    [all...]
eigen2_adjoint.cpp 20 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
35 VectorType v1 = VectorType::Random(rows),
36 v2 = VectorType::Random(rows),
37 v3 = VectorType::Random(rows),
38 vzero = VectorType::Zero(rows);
76 VERIFY_IS_APPROX(VectorType::Random(rows).normalized().norm(), RealScalar(1));
  /external/eigen/Eigen/src/Geometry/
ParametrizedLine.h 41 typedef Matrix<Scalar,AmbientDimAtCompileTime,1,Options> VectorType;
58 ParametrizedLine(const VectorType& origin, const VectorType& direction)
65 static inline ParametrizedLine Through(const VectorType& p0, const VectorType& p1)
73 const VectorType& origin() const { return m_origin; }
74 VectorType& origin() { return m_origin; }
76 const VectorType& direction() const { return m_direction; }
77 VectorType& direction() { return m_direction; }
82 RealScalar squaredDistance(const VectorType& p) cons
    [all...]
Hyperplane.h 45 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
67 inline Hyperplane(const VectorType& n, const VectorType& e)
78 inline Hyperplane(const VectorType& n, Scalar d)
88 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1)
99 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1, const VectorType& p2)
101 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(VectorType, 3
    [all...]
  /external/eigen/unsupported/test/
BVH.cpp 27 typedef Matrix<double, Dim, 1> VectorType;
30 Ball(const VectorType &c, double r) : center(c), radius(r) {}
32 VectorType center;
44 typedef Matrix<double, Dim, 1> VectorType;
49 BallPointStuff(const VectorType &inP) : p(inP), calls(0), count(0) {}
69 bool intersectVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.contains(v); }
70 bool intersectObjectObject(const BallType &b, const VectorType &v){
83 double minimumOnVolumeObject(const BoxType &r, const VectorType &v) { ++calls; return r.squaredExteriorDistance(v); }
84 double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::max)(0., (b.center - v).norm() - b.radius)); }
86 VectorType p
    [all...]
  /external/llvm/lib/IR/
ValueTypes.cpp 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
88 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType());
93 return cast<VectorType>(LLVMTy)->getNumElements();
100 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy))
194 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2);
195 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4);
196 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8);
197 case MVT::v16i1: return VectorType::get(Type::getInt1Ty(Context), 16);
198 case MVT::v32i1: return VectorType::get(Type::getInt1Ty(Context), 32)
    [all...]
  /external/eigen/Eigen/src/Eigen2Support/Geometry/
ParametrizedLine.h 36 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
48 ParametrizedLine(const VectorType& origin, const VectorType& direction)
54 static inline ParametrizedLine Through(const VectorType& p0, const VectorType& p1)
62 const VectorType& origin() const { return m_origin; }
63 VectorType& origin() { return m_origin; }
65 const VectorType& direction() const { return m_direction; }
66 VectorType& direction() { return m_direction; }
71 RealScalar squaredDistance(const VectorType& p) cons
    [all...]
AlignedBox.h 34 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
45 inline AlignedBox(const VectorType& _min, const VectorType& _max) : m_min(_min), m_max(_max) {}
48 inline explicit AlignedBox(const VectorType& p) : m_min(p), m_max(p) {}
66 inline const VectorType& (min)() const { return m_min; }
68 inline VectorType& (min)() { return m_min; }
70 inline const VectorType& (max)() const { return m_max; }
72 inline VectorType& (max)() { return m_max; }
75 inline bool contains(const VectorType& p) const
83 inline AlignedBox& extend(const VectorType& p
    [all...]
Hyperplane.h 40 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
56 inline Hyperplane(const VectorType& n, const VectorType& e)
67 inline Hyperplane(const VectorType& n, Scalar d)
77 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1)
88 static inline Hyperplane Through(const VectorType& p0, const VectorType& p1, const VectorType& p2)
90 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(VectorType, 3
    [all...]
  /external/eigen/Eigen/src/Eigen2Support/
LeastSquares.h 84 template<typename VectorType>
86 VectorType **points,
87 VectorType *result,
90 typedef typename VectorType::Scalar Scalar;
91 typedef Hyperplane<Scalar, VectorType::SizeAtCompileTime> HyperplaneType;
129 template<typename VectorType, typename HyperplaneType>
131 VectorType **points,
133 typename NumTraits<typename VectorType::Scalar>::Real* soundness = 0)
135 typedef typename VectorType::Scalar Scalar;
136 typedef Matrix<Scalar,VectorType::SizeAtCompileTime,VectorType::SizeAtCompileTime> CovMatrixType
    [all...]

Completed in 454 milliseconds

1 2 3 4 5 6 7 8 9