33 template<
typename _Scalar, 
int _Rows, 
int _Cols, 
int _Options, 
int _MaxRows, 
int _MaxCols>
    34 struct traits<
Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : 
traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
    41 template<
typename _Scalar, 
int _Rows, 
int _Cols, 
int _Options, 
int _MaxRows, 
int _MaxCols>
    43   : 
public PlainObjectBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> >
    50     enum { Options = _Options };
    54     template <
typename Derived, 
typename OtherDerived, 
bool IsVector>
    57     using Base::m_storage;
    71     template<
typename OtherDerived>
    74       return Base::operator=(other);
    86     template<
typename OtherDerived>
    89       return Base::_set(other);
    97       return Base::_set(other);
   112       Base::_check_template_params();
   116 #ifndef EIGEN_PARSED_BY_DOXYGEN   120       : Base(
internal::constructor_without_unaligned_array_assert())
   122       Base::_check_template_params();
   134       : Base(dim, RowsAtCompileTime == 1 ? 1 : dim, ColsAtCompileTime == 1 ? 1 : dim)
   136       Base::_check_template_params();
   143     #ifndef EIGEN_PARSED_BY_DOXYGEN   144     template<
typename T0, 
typename T1>
   147       Base::_check_template_params();
   148       this->
template _init2<T0,T1>(val0, val1);
   164       Base::_check_template_params();
   166       m_storage.data()[0] = val0;
   167       m_storage.data()[1] = val1;
   168       m_storage.data()[2] = val2;
   173       Base::_check_template_params();
   175       m_storage.data()[0] = val0;
   176       m_storage.data()[1] = val1;
   177       m_storage.data()[2] = val2;
   178       m_storage.data()[3] = val3;
   181     explicit Array(
const Scalar *data);
   184     template<
typename OtherDerived>
   186              : Base(other.rows() * other.cols(), other.rows(), other.cols())
   188       Base::_check_template_params();
   189       Base::_set_noalias(other);
   193             : Base(other.rows() * other.cols(), other.rows(), other.cols())
   195       Base::_check_template_params();
   196       Base::_set_noalias(other);
   199     template<
typename OtherDerived>
   202       Base::_check_template_params();
   203       Base::resize(other.
rows(), other.
cols());
   208     template<
typename OtherDerived>
   210       : Base(other.derived().rows() * other.derived().cols(), other.derived().rows(), other.derived().cols())
   212       Base::_check_template_params();
   213       Base::resize(other.
rows(), other.
cols());
   220     template<
typename OtherDerived>
   222     { this->_swap(other.derived()); }
   227     #ifdef EIGEN_ARRAY_PLUGIN   228     #include EIGEN_ARRAY_PLUGIN   233     template<
typename MatrixType, 
typename OtherDerived, 
bool SwapPo
inters>
   256 #define EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix)   \   258 typedef Array<Type, Size, Size> Array##SizeSuffix##SizeSuffix##TypeSuffix;  \   260 typedef Array<Type, Size, 1>    Array##SizeSuffix##TypeSuffix;   262 #define EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, Size)         \   264 typedef Array<Type, Size, Dynamic> Array##Size##X##TypeSuffix;  \   266 typedef Array<Type, Dynamic, Size> Array##X##Size##TypeSuffix;   268 #define EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(Type, TypeSuffix) \   269 EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, 2, 2) \   270 EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, 3, 3) \   271 EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, 4, 4) \   272 EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, Dynamic, X) \   273 EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, 2) \   274 EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, 3) \   275 EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, 4)   283 #undef EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES   284 #undef EIGEN_MAKE_ARRAY_TYPEDEFS   286 #undef EIGEN_MAKE_ARRAY_TYPEDEFS_LARGE   288 #define EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, SizeSuffix) \   289 using Eigen::Matrix##SizeSuffix##TypeSuffix; \   290 using Eigen::Vector##SizeSuffix##TypeSuffix; \   291 using Eigen::RowVector##SizeSuffix##TypeSuffix;   293 #define EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(TypeSuffix) \   294 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, 2) \   295 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, 3) \   296 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, 4) \   297 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, X) \   299 #define EIGEN_USING_ARRAY_TYPEDEFS \   300 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(i) \   301 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(f) \   302 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(d) \   303 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(cf) \   304 EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(cd)   308 #endif // EIGEN_ARRAY_H EIGEN_STRONG_INLINE Array & operator=(const EigenBase< OtherDerived > &other)
internal::traits< Derived >::Scalar Scalar
EIGEN_STRONG_INLINE Array(const EigenBase< OtherDerived > &other)
void swap(ArrayBase< OtherDerived > const &other)
#define EIGEN_STRONG_INLINE
Index outerStride() const 
ArrayBase< Array< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > > XprBase
EIGEN_STRONG_INLINE Array(const Scalar &val0, const Scalar &val1, const Scalar &val2, const Scalar &val3)
Array(internal::constructor_without_unaligned_array_assert)
internal::traits< Derived >::Index Index
#define EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(Type, TypeSuffix)
Base::PlainObject PlainObject
EIGEN_STRONG_INLINE Array(const Array &other)
Index innerStride() const 
EIGEN_STRONG_INLINE Array()
Dense storage base class for matrices and arrays. 
EIGEN_STRONG_INLINE Array(Index dim)
EIGEN_STRONG_INLINE Array(const ArrayBase< OtherDerived > &other)
EIGEN_STRONG_INLINE Array & operator=(const ArrayBase< OtherDerived > &other)
Base class for all 1D and 2D array, and related expressions. 
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
EIGEN_STRONG_INLINE Array(const T0 &val0, const T1 &val1)
General-purpose arrays with easy API for coefficient-wise operations. 
EIGEN_STRONG_INLINE Array(const ReturnByValue< OtherDerived > &other)
#define EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED
EIGEN_STRONG_INLINE Array & operator=(const Array &other)
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)
void evalTo(Dest &dst) const 
PlainObjectBase< Array > Base
#define EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(TYPE, SIZE)
EIGEN_STRONG_INLINE Array(const Scalar &val0, const Scalar &val1, const Scalar &val2)