Bugzilla – Attachment 489 Details for
Bug 864
C++11 alias templates for commonly used types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
eigen3-typedefs.hpp
eigen3-typedefs.hpp (text/x-c++hdr), 1.47 KB, created by
Jim Garrison
on 2014-08-26 06:36:33 UTC
(
hide
)
Description:
eigen3-typedefs.hpp
Filename:
MIME Type:
Creator:
Jim Garrison
Created:
2014-08-26 06:36:33 UTC
Size:
1.47 KB
patch
obsolete
>#ifndef _EIGEN3_TYPEDEFS >#define _EIGEN3_TYPEDEFS > >// adapted from Eigen/src/Core/Matrix.h > >namespace Eigen >{ > >#define EIGEN_MAKE_TYPEDEFS(Size, SizeSuffix) \ >/** \ingroup matrixtypedefs */ \ >template <typename Type> \ >using Matrix##SizeSuffix = Matrix<Type, Size, Size>; \ >/** \ingroup matrixtypedefs */ \ >template <typename Type> \ >using Vector##SizeSuffix = Matrix<Type, Size, 1>; \ >/** \ingroup matrixtypedefs */ \ >template <typename Type> \ >using RowVector##SizeSuffix = Matrix<Type, 1, Size>; > >#define EIGEN_MAKE_FIXED_TYPEDEFS(Size) \ >/** \ingroup matrixtypedefs */ \ >template <typename Type> \ >using Matrix##Size##X = Matrix<Type, Size, Dynamic>; \ >/** \ingroup matrixtypedefs */ \ >template <typename Type> \ >using Matrix##X##Size = Matrix<Type, Dynamic, Size>; > >EIGEN_MAKE_TYPEDEFS(2, 2) >EIGEN_MAKE_TYPEDEFS(3, 3) >EIGEN_MAKE_TYPEDEFS(4, 4) >EIGEN_MAKE_TYPEDEFS(Dynamic, X) >EIGEN_MAKE_FIXED_TYPEDEFS(2) >EIGEN_MAKE_FIXED_TYPEDEFS(3) >EIGEN_MAKE_FIXED_TYPEDEFS(4) > >#undef EIGEN_MAKE_TYPEDEFS >#undef EIGEN_MAKE_FIXED_TYPEDEFS > >} > >#endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 864
: 489