Go to the documentation of this file.
11 #ifndef EIGEN_MATRIX_H
12 #define EIGEN_MATRIX_H
17 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
18 struct traits<
Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
26 max_size = is_dynamic_size_storage ?
Dynamic : _MaxRows*_MaxCols,
28 actual_alignment = ((_Options&
DontAlign)==0) ? default_alignment : 0,
39 RowsAtCompileTime = _Rows,
40 ColsAtCompileTime = _Cols,
41 MaxRowsAtCompileTime = _MaxRows,
42 MaxColsAtCompileTime = _MaxCols,
45 InnerStrideAtCompileTime = 1,
46 OuterStrideAtCompileTime = (Options&
RowMajor) ? ColsAtCompileTime : RowsAtCompileTime,
50 Alignment = actual_alignment
177 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
179 :
public PlainObjectBase<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
221 template<
typename OtherDerived>
234 template<
typename OtherDerived>
241 template<
typename OtherDerived>
268 :
Base(
internal::constructor_without_unaligned_array_assert())
271 #if EIGEN_HAS_RVALUE_REFERENCES
294 template <
typename... ArgTypes>
322 #endif // end EIGEN_HAS_CXX11
324 #ifndef EIGEN_PARSED_BY_DOXYGEN
332 Base::template _init1<T>(
x);
335 template<
typename T0,
typename T1>
340 Base::template _init2<T0,T1>(
x,
y);
383 #endif // end EIGEN_PARSED_BY_DOXYGEN
420 template<
typename OtherDerived>
433 template<
typename OtherDerived>
436 template<
typename OtherDerived>
441 #ifdef EIGEN_MATRIX_PLUGIN
442 #include EIGEN_MATRIX_PLUGIN
446 template <
typename Derived,
typename OtherDerived,
bool IsVector>
481 #define EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix) \
483 typedef Matrix<Type, Size, Size> Matrix##SizeSuffix##TypeSuffix; \
485 typedef Matrix<Type, Size, 1> Vector##SizeSuffix##TypeSuffix; \
487 typedef Matrix<Type, 1, Size> RowVector##SizeSuffix##TypeSuffix;
489 #define EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, Size) \
491 typedef Matrix<Type, Size, Dynamic> Matrix##Size##X##TypeSuffix; \
493 typedef Matrix<Type, Dynamic, Size> Matrix##X##Size##TypeSuffix;
495 #define EIGEN_MAKE_TYPEDEFS_ALL_SIZES(Type, TypeSuffix) \
496 EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 2, 2) \
497 EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 3, 3) \
498 EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 4, 4) \
499 EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Dynamic, X) \
500 EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 2) \
501 EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 3) \
502 EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 4)
510 #undef EIGEN_MAKE_TYPEDEFS_ALL_SIZES
511 #undef EIGEN_MAKE_TYPEDEFS
512 #undef EIGEN_MAKE_FIXED_TYPEDEFS
516 #define EIGEN_MAKE_TYPEDEFS(Size, SizeSuffix) \
519 template <typename Type> \
520 using Matrix##SizeSuffix = Matrix<Type, Size, Size>; \
523 template <typename Type> \
524 using Vector##SizeSuffix = Matrix<Type, Size, 1>; \
527 template <typename Type> \
528 using RowVector##SizeSuffix = Matrix<Type, 1, Size>;
530 #define EIGEN_MAKE_FIXED_TYPEDEFS(Size) \
533 template <typename Type> \
534 using Matrix##Size##X = Matrix<Type, Size, Dynamic>; \
537 template <typename Type> \
538 using Matrix##X##Size = Matrix<Type, Dynamic, Size>;
550 template <typename
Type,
int Size>
555 template <typename
Type,
int Size>
558 #undef EIGEN_MAKE_TYPEDEFS
559 #undef EIGEN_MAKE_FIXED_TYPEDEFS
561 #endif // EIGEN_HAS_CXX11
565 #endif // EIGEN_MATRIX_H
#define EIGEN_MAKE_TYPEDEFS_ALL_SIZES(Type, TypeSuffix)
find_best_packet_helper< Size, typename packet_traits< T >::type >::type type
#define EIGEN_DEVICE_FUNC
Namespace containing all symbols from the Eigen library.
Annotation indicating that a class derives from another given type.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix(const Matrix &other)
Copy constructor.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix & operator=(const DenseBase< OtherDerived > &other)
const EIGEN_DEVICE_FUNC T * data() const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix(const T &x)
static const double d[K][N]
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix(const Scalar &x, const Scalar &y, const Scalar &z, const Scalar &w)
Constructs an initialized 4D vector with given coefficients.
Eigen::RowVectorXd RowVector
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & operator=(const PlainObjectBase &other)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
const unsigned int RowMajorBit
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & coeffRef(Index rowId, Index colId)
Eigen::Index StorageIndex
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix(const Scalar &x, const Scalar &y, const Scalar &z)
Constructs an initialized 3D vector with given coefficients.
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerStride() const EIGEN_NOEXCEPT
find_best_packet< _Scalar, size >::type PacketScalar
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerStride() const EIGEN_NOEXCEPT
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix & operator=(const ReturnByValue< OtherDerived > &func)
PlainObjectBase< Matrix > Base
Base class typedef.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & _set(const DenseBase< OtherDerived > &other)
Copies the value of the expression other into *this with automatic resizing.
const unsigned int DirectAccessBit
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix(const T0 &x, const T1 &y)
Base::PlainObject PlainObject
const unsigned int PacketAccessBit
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > Matrix
#define EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, Size)
Common base class for compact rotation representations.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
#define EIGEN_STRONG_INLINE
#define EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED
#define EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(TYPE, SIZE)
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix & operator=(const EigenBase< OtherDerived > &other)
Copies the generic expression other into *this.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix(internal::constructor_without_unaligned_array_assert)
#define EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix)
const unsigned int LinearAccessBit
detail::enable_if_t<!detail::move_never< T >::value, T > move(object &&obj)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Base class for all dense matrices, vectors, and arrays.
DenseStorage< Scalar, Base::MaxSizeAtCompileTime, Base::RowsAtCompileTime, Base::ColsAtCompileTime, Options > m_storage
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Scalar * data() const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix & operator=(const Matrix &other)
Assigns matrices to each other.
The matrix class, also used for vectors and row-vectors.
EIGEN_CONSTEXPR Index size(const T &x)
static const Similarity3 T1(R, Point3(3.5, -8.2, 4.2), 1)
internal::traits< Matrix< Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > >::Scalar Scalar
#define EIGEN_NOEXCEPT_IF(x)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix()
Default constructor.
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Matrix(const EigenBase< OtherDerived > &other)
Copy constructor for generic expressions.
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void _check_template_params()
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Thu Jun 13 2024 03:03:35