/external/eigen/Eigen/src/Core/ |
H A D | VectorBlock.h | 17 template<typename VectorType, int Size> 18 struct traits<VectorBlock<VectorType, Size> > 19 : public traits<Block<VectorType, 20 traits<VectorType>::Flags & RowMajorBit ? 1 : Size, 21 traits<VectorType>::Flags & RowMajorBit ? Size : 1> > 31 * \tparam VectorType the type of the object in which we are taking a sub-vector 46 * \note Even though this expression has dynamic size, in the case where \a VectorType 56 template<typename VectorType, int Size> class VectorBlock 57 : public Block<VectorType, 58 internal::traits<VectorType> [all...] |
/external/llvm/lib/IR/ |
H A D | ValueTypes.cpp | 43 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 102 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 107 return cast<VectorType>(LLVMTy)->getNumElements(); 114 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 223 case MVT::v2i1: return VectorType::get(Type::getInt1Ty(Context), 2); 224 case MVT::v4i1: return VectorType::get(Type::getInt1Ty(Context), 4); 225 case MVT::v8i1: return VectorType::get(Type::getInt1Ty(Context), 8); 226 case MVT::v16i1: return VectorType::get(Type::getInt1Ty(Context), 16); 227 case MVT::v32i1: return VectorType [all...] |
/external/eigen/test/ |
H A D | mapped_matrix.cpp | 18 template<typename VectorType> void map_class_vector(const VectorType& m) 20 typedef typename VectorType::Index Index; 21 typedef typename VectorType::Scalar Scalar; 31 Map<VectorType, AlignedMax>(array1, size) = VectorType::Random(size); 32 Map<VectorType, AlignedMax>(array2, size) = Map<VectorType,AlignedMax>(array1, size); 33 Map<VectorType>(array3unaligned, size) = Map<VectorType>(array 175 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 | 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 | geo_alignedbox.cpp | 30 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType; typedef 34 VectorType p0 = VectorType::Random(dim); 35 VectorType p1 = VectorType::Random(dim); 37 p1 = VectorType::Random(dim); } 41 BoxType b1(VectorType::Random(dim),VectorType::Random(dim)); 60 BoxType box1(VectorType::Random(dim)); 61 box1.extend(VectorType 91 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType; typedef [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 | 29 template<typename VectorType> 32 VERIFY_THROWS_BADALLOC( VectorType v(size) ); 33 VERIFY_THROWS_BADALLOC( VectorType v; v.resize(size) ); 34 VERIFY_THROWS_BADALLOC( VectorType v; v.conservativeResize(size) );
|
H A D | dontalign.cpp | 24 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType; typedef 32 VectorType v = VectorType::Random(rows); 44 v = VectorType::MapAligned(array, rows);
|
H A D | nullary.cpp | 36 template<typename VectorType> 37 void check_extremity_accuracy(const VectorType &v, const typename VectorType::Scalar &low, const typename VectorType::Scalar &high) 39 typedef typename VectorType::Scalar Scalar; 40 typedef typename VectorType::RealScalar RealScalar; 63 template<typename VectorType> 64 void testVectorType(const VectorType& base) 66 typedef typename VectorType::Scalar Scalar; 67 typedef typename VectorType [all...] |
H A D | zerosized.cpp | 68 template<typename VectorType> void zeroSizedVector() 70 VectorType t1; 72 if (VectorType::SizeAtCompileTime == Dynamic || VectorType::SizeAtCompileTime==0) 76 VectorType t2(DenseIndex(0)); // DenseIndex disambiguates with 0-the-null-pointer (error with gcc 4.4 and MSVC8)
|
H A D | geo_hyperplane.cpp | 27 typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime, 1> VectorType; typedef 31 VectorType p0 = VectorType::Random(dim); 32 VectorType p1 = VectorType::Random(dim); 34 VectorType n0 = VectorType::Random(dim).normalized(); 35 VectorType n1 = VectorType::Random(dim).normalized(); 58 DiagonalMatrix<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
H A D | ValueTypes.cpp | 38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements); 76 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 81 return cast<VectorType>(LLVMTy)->getNumElements(); 88 if (VectorType *VTy = dyn_cast<VectorType>(LLVMTy)) 167 case MVT::v2i8: return VectorType::get(Type::getInt8Ty(Context), 2); 168 case MVT::v4i8: return VectorType::get(Type::getInt8Ty(Context), 4); 169 case MVT::v8i8: return VectorType::get(Type::getInt8Ty(Context), 8); 170 case MVT::v16i8: return VectorType::get(Type::getInt8Ty(Context), 16); 171 case MVT::v32i8: return VectorType [all...] |
/external/eigen/Eigen/src/Geometry/ |
H A D | Hyperplane.h | 45 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType; typedef in class:Eigen::Hyperplane 67 EIGEN_DEVICE_FUNC inline Hyperplane(const VectorType& n, const VectorType& e) 78 EIGEN_DEVICE_FUNC inline Hyperplane(const VectorType& n, const Scalar& d) 88 EIGEN_DEVICE_FUNC static inline Hyperplane Through(const VectorType& p0, const VectorType& p1) 99 EIGEN_DEVICE_FUNC 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 EIGEN_DEVICE_FUNC ParametrizedLine(const VectorType& origin, const VectorType& direction) 65 EIGEN_DEVICE_FUNC static inline ParametrizedLine Through(const VectorType& p0, const VectorType& p1) 73 EIGEN_DEVICE_FUNC const VectorType& origin() const { return m_origin; } 74 EIGEN_DEVICE_FUNC VectorType& origin() { return m_origin; } 76 EIGEN_DEVICE_FUNC const VectorType& direction() const { return m_direction; } 77 EIGEN_DEVICE_FUNC VectorType& direction() { return m_direction; } 82 EIGEN_DEVICE_FUNC 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 | 155 /// Common super class of ArrayType, StructType, PointerType and VectorType. 365 class VectorType : public SequentialType { class in namespace:llvm 368 VectorType(const VectorType &) = delete; 369 const VectorType &operator=(const VectorType &) = delete; 370 VectorType(Type *ElType, unsigned NumEl); 373 /// This static method is the primary way to construct an VectorType. 374 static VectorType *get(Type *ElementType, unsigned NumElements); 376 /// This static method gets a VectorType wit [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;
|
H A D | MapVector.h | 31 typename VectorType = std::vector<std::pair<KeyT, ValueT> > > 33 typedef typename VectorType::size_type size_type; 36 VectorType Vector; 39 typedef typename VectorType::iterator iterator; 40 typedef typename VectorType::const_iterator const_iterator; 41 typedef typename VectorType::reverse_iterator reverse_iterator; 42 typedef typename VectorType::const_reverse_iterator const_reverse_iterator; 134 typename VectorType::iterator erase(typename VectorType::iterator Iterator) { 168 template <typename KeyT, typename ValueT, typename MapType, typename VectorType> [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
H A D | DerivedTypes.h | 144 /// and VectorType. 357 /// VectorType - Class to represent vector types. 359 class VectorType : public SequentialType { class in namespace:llvm 362 VectorType(const VectorType &); // Do not implement 363 const VectorType &operator=(const VectorType &); // Do not implement 364 VectorType(Type *ElType, unsigned NumEl); 366 /// VectorType::get - This static method is the primary way to construct an 367 /// VectorType [all...] |
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
H A D | LMpar.h | 19 template <typename QRSolver, typename VectorType> 22 const VectorType &diag, 23 const VectorType &qtb, 24 typename VectorType::Scalar m_delta, 25 typename VectorType::Scalar &par, 26 VectorType &x) 55 VectorType wa1, wa2; 117 VectorType sdiag(n);
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
H A D | IterationController.h | 133 template<typename VectorType> bool converged(const VectorType &v) 146 template <typename VectorType> 147 bool finished(const MatrixBase<VectorType> &v)
|
H A D | MINRES.h | 38 typedef Matrix<Scalar,Dynamic,1> VectorType; typedef 56 VectorType v_old(N); // will be initialized inside loop 57 VectorType v( VectorType::Zero(N) ); //initialize v 58 VectorType v_new(rhs-mat*x); //initialize v_new 60 VectorType w(N); // will be initialized inside loop 61 VectorType w_new(precond.solve(v_new)); // initialize w_new 74 VectorType p_oold(N); // will be initialized in loop 75 VectorType p_old(VectorType [all...] |