Searched refs:VectorType (Results 1 - 25 of 217) sorted by relevance

123456789

/external/eigen/Eigen/src/Core/
H A DVectorBlock.h21 * \param VectorType the type of the object in which we are taking a sub-vector
36 * \note Even though this expression has dynamic size, in the case where \a VectorType
48 template<typename VectorType, int Size>
49 struct traits<VectorBlock<VectorType, Size> >
50 : public traits<Block<VectorType,
51 traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
52 traits<VectorType>::Flags & RowMajorBit ? Size : 1> >
57 template<typename VectorType, int Size> class VectorBlock
58 : public Block<VectorType,
59 internal::traits<VectorType>
[all...]
/external/eigen/Eigen/src/Eigen2Support/
H A DLeastSquares.h84 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
[all...]
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DParametrizedLine.h36 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType; typedef in class:Eigen::ParametrizedLine
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
[all...]
H A DAlignedBox.h34 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType; typedef in class:Eigen::AlignedBox
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
[all...]
H A DHyperplane.h40 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType; typedef in class:Eigen::Hyperplane
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,
[all...]
/external/eigen/test/
H A Dmapped_matrix.cpp16 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>(array
[all...]
H A DdenseLM.cpp25 typedef Matrix<Scalar,Dynamic,1> VectorType; typedef in struct:DenseLM
30 VectorType model(const VectorType& uv, VectorType& x)
32 VectorType y; // Should change to use expression template
40 VectorBlock<const VectorType> u(uv, 0, half);
41 VectorBlock<const VectorType> v(uv, half, half);
50 void initPoints(VectorType& uv_ref, VectorType& x)
56 int operator()(const VectorType
148 typedef Matrix<T,Dynamic,1> VectorType; typedef
[all...]
H A DsparseLM.cpp23 typedef Matrix<Scalar,Dynamic,1> VectorType; typedef in struct:sparseGaussianTest
29 VectorType model(const VectorType& uv, VectorType& x)
31 VectorType y; //Change this to use expression template
39 VectorBlock<const VectorType> u(uv, 0, half);
40 VectorBlock<const VectorType> v(uv, half, half);
54 void initPoints(VectorType& uv_ref, VectorType& x)
59 int operator()(const VectorType
131 typedef Matrix<T,Dynamic,1> VectorType; typedef
[all...]
H A Dzerosized.cpp50 template<typename VectorType> void zeroSizedVector()
52 VectorType t1;
54 if (VectorType::SizeAtCompileTime == Dynamic || VectorType::SizeAtCompileTime==0)
58 VectorType t2(DenseIndex(0)); // DenseIndex disambiguates with 0-the-null-pointer (error with gcc 4.4 and MSVC8)
H A Dgeo_parametrizedline.cpp26 typedef Matrix<Scalar, LineType::AmbientDimAtCompileTime, 1> VectorType; typedef
29 VectorType p0 = VectorType::Random(dim);
30 VectorType p1 = VectorType::Random(dim);
32 VectorType d0 = VectorType::Random(dim).normalized();
54 VectorType p2 = VectorType::Random(dim);
55 VectorType n
[all...]
H A Dconservative_resize.cpp63 typedef Matrix<Scalar, 1, Eigen::Dynamic> VectorType; typedef
65 VectorType m, n;
68 m = n = VectorType::Random(50);
72 m = n = VectorType::Random(50);
76 m = n = VectorType::Random(50);
80 m = n = VectorType::Random(50);
88 m = n = VectorType::Random(50);
92 m = n = VectorType::Random(50);
101 m = n = VectorType::Random(50);
102 m.conservativeResizeLike(VectorType
[all...]
H A Dmiscmatrices.cpp19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; typedef
27 VectorType v1 = VectorType::Random(rows);
34 square.diagonal() = VectorType::Ones(rows);
H A Dsizeoverflow.cpp31 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) );
/external/eigen/test/eigen2/
H A Deigen2_map.cpp12 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 ma
[all...]
H A Deigen2_regression.cpp13 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
[all...]
H A Deigen2_alignedbox.cpp24 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType; typedef
26 VectorType p0 = VectorType::Random(dim);
27 VectorType p1 = VectorType::Random(dim);
31 BoxType b1(VectorType::Random(dim),VectorType::Random(dim));
H A Deigen2_parametrizedline.cpp25 typedef Matrix<Scalar, LineType::AmbientDimAtCompileTime, 1> VectorType; typedef
29 VectorType p0 = VectorType::Random(dim);
30 VectorType p1 = VectorType::Random(dim);
32 VectorType d0 = VectorType::Random(dim).normalized();
H A Deigen2_miscmatrices.cpp19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; typedef
28 VectorType v1 = VectorType::Random(rows);
35 square.diagonal() = VectorType::Ones(rows);
H A Deigen2_nomalloc.cpp28 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; typedef
41 VectorType v1 = VectorType::Random(rows),
42 v2 = VectorType::Random(rows),
43 vzero = VectorType::Zero(rows);
/external/llvm/lib/IR/
H A DValueTypes.cpp38 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))
199 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2);
200 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4);
201 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8);
202 case MVT::v16i1: return VectorType::get(Type::getInt1Ty(Context), 16);
203 case MVT::v32i1: return VectorType
[all...]
/external/eigen/Eigen/src/Geometry/
H A DParametrizedLine.h41 typedef Matrix<Scalar,AmbientDimAtCompileTime,1,Options> VectorType; typedef in class:Eigen::ParametrizedLine
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
[all...]
H A DHyperplane.h45 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType; typedef in class:Eigen::Hyperplane
67 inline Hyperplane(const VectorType& n, const VectorType& e)
78 inline Hyperplane(const VectorType& n, const 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,
[all...]
/external/eigen/unsupported/test/
H A DBVH.cpp27 typedef Matrix<double, Dim, 1> VectorType; typedef in struct:Ball
30 Ball(const VectorType &c, double r) : center(c), radius(r) {}
32 VectorType center;
44 typedef Matrix<double, Dim, 1> VectorType; typedef in struct:BallPointStuff
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
95 typedef Matrix<double, Dim, 1> VectorType; typedef in struct:TreeTest
[all...]
/external/llvm/include/llvm/IR/
H A DDerivedTypes.h143 /// and VectorType.
356 /// VectorType - Class to represent vector types.
358 class VectorType : public SequentialType { class in namespace:llvm
361 VectorType(const VectorType &) LLVM_DELETED_FUNCTION;
362 const VectorType &operator=(const VectorType &) LLVM_DELETED_FUNCTION;
363 VectorType(Type *ElType, unsigned NumEl);
365 /// VectorType::get - This static method is the primary way to construct an
366 /// VectorType
[all...]
/external/llvm/include/llvm/ADT/
H A DUniqueVector.h26 typedef typename std::vector<T> VectorType; typedef in class:llvm::UniqueVector
27 typedef typename VectorType::iterator iterator;
28 typedef typename VectorType::const_iterator const_iterator;
36 VectorType Vector;

Completed in 217 milliseconds

123456789