HomeSort by relevance Sort by last modified time
    Searched refs:VectorType (Results 1 - 25 of 239) sorted by null

1 2 3 4 5 6 7 8 910

  /external/eigen/Eigen/src/Core/
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>::Flags & RowMajorBit ? 1 : Size
    [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...]
  /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/llvm/lib/IR/
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::get(Type::getInt1Ty(Context), 32)
    [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_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_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_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);
  /external/eigen/test/
denseLM.cpp 25 typedef Matrix<Scalar,Dynamic,1> VectorType;
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& uv, VectorType& fvec
    [all...]
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>(array1, size)
    [all...]
sparseLM.cpp 23 typedef Matrix<Scalar,Dynamic,1> VectorType;
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& uv, VectorType& fvec
    [all...]
geo_parametrizedline.cpp 26 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();
54 VectorType p2 = VectorType::Random(dim);
55 VectorType n2 = VectorType::Random(dim).normalized()
    [all...]
miscmatrices.cpp 19 typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
27 VectorType v1 = VectorType::Random(rows);
34 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 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)
geo_alignedbox.cpp 30 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType;
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));
68 VectorType r = b0.sample();
82 typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType;
    [all...]
  /external/eigen/Eigen/src/Geometry/
Hyperplane.h 45 typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
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, 3
    [all...]
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...]
  /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/include/llvm/IR/
DerivedTypes.h 147 /// and VectorType.
355 /// VectorType - Class to represent vector types.
357 class VectorType : public SequentialType {
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/
UniqueVector.h 27 typedef typename std::vector<T> VectorType;
28 typedef typename VectorType::iterator iterator;
29 typedef typename VectorType::const_iterator const_iterator;
37 VectorType Vector;
  /external/eigen/unsupported/Eigen/src/IterativeSolvers/
GMRES.h 64 typedef Matrix < Scalar, Dynamic, 1 > VectorType;
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::Unit(m, k - 1), workspace(m)
    [all...]

Completed in 551 milliseconds

1 2 3 4 5 6 7 8 910