/external/eigen/Eigen/src/Core/ |
H A D | VectorBlock.h | 21 * \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 D | 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 [all...] |
/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
H A D | ParametrizedLine.h | 36 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 D | AlignedBox.h | 34 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 D | Hyperplane.h | 40 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 D | mapped_matrix.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>(array 130 typedef Matrix<Scalar,Dynamic,1> VectorType; typedef [all...] |
H A D | denseLM.cpp | 25 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 D | sparseLM.cpp | 23 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 D | zerosized.cpp | 50 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 D | geo_parametrizedline.cpp | 26 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 D | conservative_resize.cpp | 63 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 D | miscmatrices.cpp | 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; typedef 27 VectorType v1 = VectorType::Random(rows); 34 square.diagonal() = VectorType::Ones(rows);
|
H A D | 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) );
|
/external/llvm/lib/IR/ |
H A D | ValueTypes.cpp | 43 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 97 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 102 return cast<VectorType>(LLVMTy)->getNumElements(); 109 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 218 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2); 219 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4); 220 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8); 221 case MVT::v16i1: return VectorType::get(Type::getInt1Ty(Context), 16); 222 case MVT::v32i1: return VectorType [all...] |
/external/eigen/test/eigen2/ |
H A D | 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 ma [all...] |
H A D | 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 [all...] |
H A D | eigen2_alignedbox.cpp | 24 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 D | eigen2_parametrizedline.cpp | 25 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 D | eigen2_miscmatrices.cpp | 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; typedef 28 VectorType v1 = VectorType::Random(rows); 35 square.diagonal() = VectorType::Ones(rows);
|
/external/eigen/Eigen/src/Geometry/ |
H A D | Hyperplane.h | 45 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...] |
H A D | ParametrizedLine.h | 41 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...] |
/external/eigen/unsupported/test/ |
H A D | BVH.cpp | 27 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 D | DerivedTypes.h | 147 /// and VectorType. 355 /// VectorType - Class to represent vector types. 357 class VectorType : public SequentialType { class in namespace:llvm 360 VectorType(const VectorType &) = delete; 361 const VectorType &operator=(const VectorType &) = delete; 362 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 D | UniqueVector.h | 27 typedef typename std::vector<T> VectorType; typedef in class:llvm::UniqueVector 28 typedef typename VectorType::iterator iterator; 29 typedef typename VectorType::const_iterator const_iterator; 37 VectorType Vector;
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
H A D | GMRES.h | 64 typedef Matrix < Scalar, Dynamic, 1 > VectorType; typedef 73 VectorType p0 = rhs - mat*x; 74 VectorType r0 = precond.solve(p0); 81 VectorType w = VectorType::Zero(restart + 1); 84 VectorType tau = VectorType::Zero(restart + 1); 88 VectorType e(m-1); 98 VectorType v = VectorType [all...] |