You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
625 B

  1. namespace StormEigen {
  2. namespace internal {
  3. template <class ArgType>
  4. struct traits<Circulant<ArgType> >
  5. {
  6. typedef StormEigen::Dense StorageKind;
  7. typedef StormEigen::MatrixXpr XprKind;
  8. typedef typename ArgType::StorageIndex StorageIndex;
  9. typedef typename ArgType::Scalar Scalar;
  10. enum {
  11. Flags = StormEigen::ColMajor,
  12. RowsAtCompileTime = ArgType::RowsAtCompileTime,
  13. ColsAtCompileTime = ArgType::RowsAtCompileTime,
  14. MaxRowsAtCompileTime = ArgType::MaxRowsAtCompileTime,
  15. MaxColsAtCompileTime = ArgType::MaxRowsAtCompileTime
  16. };
  17. };
  18. }
  19. }