mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Use fix<> API to specify compile-time reshaped sizes.
This commit is contained in:
@@ -557,20 +557,6 @@ template<typename Derived> class DenseBase
|
||||
}
|
||||
EIGEN_DEVICE_FUNC void reverseInPlace();
|
||||
|
||||
EIGEN_DEVICE_FUNC inline
|
||||
Reshaped<Derived> reshaped(Index nRows, Index nCols);
|
||||
|
||||
EIGEN_DEVICE_FUNC inline
|
||||
const Reshaped<const Derived> reshaped(Index nRows, Index nCols) const;
|
||||
|
||||
template<int ReshapeRows, int ReshapeCols>
|
||||
EIGEN_DEVICE_FUNC
|
||||
inline Reshaped<Derived, ReshapeRows, ReshapeCols> reshaped();
|
||||
|
||||
template<int ReshapeRows, int ReshapeCols>
|
||||
EIGEN_DEVICE_FUNC
|
||||
inline const Reshaped<const Derived, ReshapeRows, ReshapeCols> reshaped() const;
|
||||
|
||||
#define EIGEN_CURRENT_STORAGE_BASE_CLASS Eigen::DenseBase
|
||||
#define EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL
|
||||
#define EIGEN_DOC_BLOCK_ADDONS_INNER_PANEL_IF(COND)
|
||||
@@ -578,6 +564,7 @@ template<typename Derived> class DenseBase
|
||||
# include "../plugins/CommonCwiseUnaryOps.h"
|
||||
# include "../plugins/BlockMethods.h"
|
||||
# include "../plugins/IndexedViewMethods.h"
|
||||
# include "../plugins/ReshapedMethods.h"
|
||||
# ifdef EIGEN_DENSEBASE_PLUGIN
|
||||
# include EIGEN_DENSEBASE_PLUGIN
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user