.. _program_listing_file_include_eigenpy_stride.hpp: Program Listing for File stride.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``include/eigenpy/stride.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /* * Copyright 2014-2019, CNRS * Copyright 2018-2023, INRIA */ #ifndef __eigenpy_stride_hpp__ #define __eigenpy_stride_hpp__ #include namespace eigenpy { template struct stride_type_matrix { typedef Eigen::Stride type; }; template struct stride_type_matrix { typedef Eigen::InnerStride type; }; template ::type> struct stride_type; template struct stride_type> { typedef typename stride_type_matrix::type type; }; template struct stride_type> { typedef typename stride_type_matrix::type type; }; #ifdef EIGENPY_WITH_TENSOR_SUPPORT template struct stride_type> { typedef Eigen::Stride type; }; template struct stride_type> { typedef Eigen::Stride type; }; #endif template struct StrideType { typedef typename stride_type::type type; }; } // namespace eigenpy #endif // ifndef __eigenpy_stride_hpp__