.. _program_listing_file__tmp_ws_src_eigenpy_include_eigenpy_eigen-typedef.hpp: Program Listing for File eigen-typedef.hpp ========================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/eigenpy/include/eigenpy/eigen-typedef.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // // Copyright (c) 2020-2023 INRIA // #ifndef __eigenpy_eigen_typedef_hpp__ #define __eigenpy_eigen_typedef_hpp__ #include "eigenpy/fwd.hpp" #define EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, Size, SizeSuffix) \ \ typedef Eigen::Matrix \ Matrix##SizeSuffix##TypeSuffix; \ \ typedef Eigen::Matrix Vector##SizeSuffix##TypeSuffix; \ \ typedef Eigen::Matrix RowVector##SizeSuffix##TypeSuffix; #define EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, Size) \ \ typedef Eigen::Matrix \ Matrix##Size##X##TypeSuffix; \ \ typedef Eigen::Matrix \ Matrix##X##Size##TypeSuffix; #define EIGENPY_MAKE_TYPEDEFS_ALL_SIZES(Type, Options, TypeSuffix) \ EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 2, 2) \ EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 3, 3) \ EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 4, 4) \ EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, Eigen::Dynamic, X) \ EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 2) \ EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 3) \ EIGENPY_MAKE_FIXED_TYPEDEFS(Type, Options, TypeSuffix, 4) \ EIGENPY_MAKE_TYPEDEFS(Type, Options, TypeSuffix, 1, 1) \ typedef Eigen::SparseMatrix SparseMatrixX##TypeSuffix #endif // ifndef __eigenpy_eigen_typedef_hpp__