OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:vector3d
(Results
26 - 33
of
33
) sorted by null
1
2
/external/eigen/doc/
C00_QuickStartGuide.dox
83
Now look back at the second example program. We presented two versions of it. In the version in the left column, the matrix is of type \c MatrixXd which represents matrices of arbitrary size. The version in the right column is similar, except that the matrix is of type \c Matrix3d, which represents matrices of a fixed size (here 3-by-3). Because the type already encodes the size of the matrix, it is not necessary to specify the size in the constructor; compare <tt>MatrixXd m(3,3)</tt> with <tt>Matrix3d m</tt>. Similarly, we have \c VectorXd on the left (arbitrary size) versus \c
Vector3d
on the right (fixed size). Note that here the coefficients of vector \c v are directly set in the constructor, though the same syntax of the left example could be used too.
85
The use of fixed-size matrices and vectors has two advantages. The compiler emits better (faster) code because it knows the size of the matrices and vectors. Specifying the size in the type also allows for more rigorous checking at compile-time. For instance, the compiler will complain if you try to multiply a \c Matrix4d (a 4-by-4 matrix) with a \c
Vector3d
(a vector of size 3). However, the use of many types increases compilation time and the size of the executable. The size of the matrix may also not be known at compile-time. A rule of thumb is to use fixed-size matrices for size 4-by-4 and smaller.
I00_CustomizingEigen.dox
101
: Eigen::
Vector3d
(other)
C01_TutorialMatrixClass.dox
126
Vector3d
b(5.0, 6.0, 7.0);
/external/eigen/test/eigen2/
eigen2_array.cpp
137
CALL_SUBTEST_3( lpNorm(
Vector3d
()) );
/external/eigen/test/
nullary.cpp
118
CALL_SUBTEST_6( testVectorType(
Vector3d
()) );
array_for_matrix.cpp
200
CALL_SUBTEST_7( lpNorm(
Vector3d
()) );
/external/ceres-solver/examples/
bal_problem.cc
236
Eigen::
Vector3d
median;
libmv_bundle_adjuster.cc
117
typedef Eigen::
Vector3d
Vec3;
Completed in 423 milliseconds
1
2