2014-09-28 06:25:58 +08:00
|
|
|
namespace Eigen {
|
|
|
|
namespace internal {
|
|
|
|
template <class ArgType>
|
2015-02-17 00:21:16 +08:00
|
|
|
struct traits<Circulant<ArgType> >
|
2014-09-28 06:25:58 +08:00
|
|
|
{
|
|
|
|
typedef Eigen::Dense StorageKind;
|
|
|
|
typedef Eigen::MatrixXpr XprKind;
|
2015-02-17 00:21:16 +08:00
|
|
|
typedef typename ArgType::StorageIndex StorageIndex;
|
2014-09-28 06:25:58 +08:00
|
|
|
typedef typename ArgType::Scalar Scalar;
|
|
|
|
enum {
|
|
|
|
Flags = Eigen::ColMajor,
|
|
|
|
RowsAtCompileTime = ArgType::RowsAtCompileTime,
|
|
|
|
ColsAtCompileTime = ArgType::RowsAtCompileTime,
|
|
|
|
MaxRowsAtCompileTime = ArgType::MaxRowsAtCompileTime,
|
|
|
|
MaxColsAtCompileTime = ArgType::MaxRowsAtCompileTime
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|