Home
last modified time | relevance | path

Searched refs:Vector2d (Results 1 – 22 of 22) sorted by relevance

/external/eigen/unsupported/doc/examples/
DBVH_Example.cpp9 …Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a sing… in bounding_box()
18 …double minimumOnVolumeObject(const Box2d &r, const Vector2d &v) { ++calls; return r.squaredExterio… in minimumOnVolumeObject()
19 …double minimumOnObjectVolume(const Vector2d &v, const Box2d &r) { ++calls; return r.squaredExterio… in minimumOnObjectVolume()
20 …double minimumOnObjectObject(const Vector2d &v1, const Vector2d &v2) { ++calls; return (v1 - v2).s… in minimumOnObjectObject()
27 typedef std::vector<Vector2d, aligned_allocator<Vector2d> > StdVectorOfVector2d; in main()
30 redPoints.push_back(Vector2d::Random()); in main()
31 bluePoints.push_back(Vector2d::Random()); in main()
45 …KdBVH<double, 2, Vector2d> redTree(redPoints.begin(), redPoints.end()), blueTree(bluePoints.begin(… in main()
/external/eigen/bench/
DBenchTimer.h160 Vector2d m_starts;
161 Vector2d m_times;
162 Vector2d m_bests;
163 Vector2d m_worsts;
164 Vector2d m_totals;
/external/eigen/doc/
DStructHavingEigenMembers.dox19 Eigen::Vector2d v;
38 Eigen::Vector2d v;
61 Eigen::Vector2d v;
70 A Eigen::Vector2d consists of 2 doubles, which is 128 bits. Which is exactly the size of a SSE pack…
72 For this reason, Eigen takes care by itself to require 128-bit alignment for Eigen::Vector2d, by do…
73 \li Eigen requires 128-bit alignment for the Eigen::Vector2d's array (of 2 doubles). With GCC, this…
74 \li Eigen overloads the "operator new" of Eigen::Vector2d so it will always return 128-bit aligned …
92 Eigen::Vector2d v;
151 Eigen::Vector2d av(v);
167 Vector2d v;
DPassingByValue.dox12 void my_function(Eigen::Vector2d v);
18 void my_function(const Eigen::Vector2d& v);
26 Eigen::Vector2d v;
DStlContainers.dox46 the specialization needs to be defined before all code pieces in which e.g. std::vector<Vector2d> i…
54 std::vector<Eigen::Vector2d>
DFixedSizeVectorizable.dox12 \li Eigen::Vector2d
DUnalignedArrayAssert.dox38 Eigen::Vector2d v;
47 Note that here, Eigen::Vector2d is only used as an example, more generally the issue arises for all…
DPreprocessorDirectives.dox32 …and not the sizes. For instance, \code Vector2d v(2,1); \endcode will create a vector with coefici…
DTutorialMatrixClass.dox106 Vector2d a(5.0, 6.0);
/external/eigen/test/
Dunalignedassert.cpp58 Vector2d m;
78 Vector2d m;
119 construct_at_boundary<Vector2d>(16); in unalignedassert()
154 VERIFY_RAISES_ASSERT(construct_at_boundary<Vector2d>(8)); in unalignedassert()
Devaluators.cpp107 Vector2d v = Vector2d::Random(); in test_evaluators()
108 const Vector2d v_const(v); in test_evaluators()
109 Vector2d v2; in test_evaluators()
145 VERIFY_IS_APPROX_EVALUATOR(w, Vector2d::Zero().transpose()); in test_evaluators()
240 VERIFY_IS_APPROX_EVALUATOR(v2, v + Vector2d::Ones()); in test_evaluators()
241 …VERIFY_IS_APPROX_EVALUATOR(w, (v + Vector2d::Ones()).transpose().cwiseProduct(RowVector2d::Constan… in test_evaluators()
Dsizeof.cpp35 CALL_SUBTEST(verifySizeOf(Vector2d()) ); in test_sizeof()
Ddiagonalmatrices.cpp108 Vector2d diag = Vector2d::Random(); in bug987()
Dzerosized.cpp97 zeroSizedVector<Vector2d>(); in test_zerosized()
Ddynalloc.cpp143 CALL_SUBTEST(check_dynaligned<Vector2d>() ); in test_dynalloc()
Dproduct_small.cpp217 Vector2d b = Vector2d::Random() ; in bug_1311()
/external/eigen/unsupported/test/
Dopenglsupport.cpp183 Vector2d vd2; vd2.setRandom(); Vector3d vd23; vd23 << vd2, 0; in test_openglsupport()
202 Vector2d vd2; vd2.setRandom(); Vector3d vd23; vd23 << vd2, 1; in test_openglsupport()
321 typedef Vector2d Vector2d; in test_openglsupport() typedef
325 VERIFY_UNIFORM(dv,v2d, Vector2d); in test_openglsupport()
Dautodiff.cpp292 VERIFY_IS_APPROX(y.derivatives()(0).derivatives(), -std::sin(s1*s3+s2*s4)*Vector2d(s3*s3,s4*s3)); in test_autodiff_hessian()
293 VERIFY_IS_APPROX(y.derivatives()(1).derivatives(), -std::sin(s1*s3+s2*s4)*Vector2d(s3*s4,s4*s4)); in test_autodiff_hessian()
296 VERIFY_IS_APPROX(z.derivatives()(0).derivatives(), Vector2d(0,1)); in test_autodiff_hessian()
297 VERIFY_IS_APPROX(z.derivatives()(1).derivatives(), Vector2d(1,0)); in test_autodiff_hessian()
346 typedef AutoDiffScalar<Vector2d> AD; in bug_1264()
Dsplines.cpp196 Vector2d pt = spline(u(i)); in eval_closed_spline2d()
/external/eigen/doc/examples/
Dtut_arithmetic_matrix_mul.cpp10 Vector2d u(-1,1), v(2,0); in main()
/external/eigen/demos/mandelbrot/
Dmandelbrot.h39 Eigen::Vector2d center;
Dmandelbrot.cpp179 center = Eigen::Vector2d(center.x() + (event->pos().x() - width()/2) * xradius * 2 / width(), in mousePressEvent()