mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Clang-format tests, examples, libraries, benchmarks, etc.
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
3252ecc7a4
commit
46e9cdb7fe
@@ -1,15 +1,11 @@
|
||||
template <class ArgType>
|
||||
class Circulant : public Eigen::MatrixBase<Circulant<ArgType> >
|
||||
{
|
||||
public:
|
||||
Circulant(const ArgType& arg)
|
||||
: m_arg(arg)
|
||||
{
|
||||
EIGEN_STATIC_ASSERT(ArgType::ColsAtCompileTime == 1,
|
||||
YOU_TRIED_CALLING_A_VECTOR_METHOD_ON_A_MATRIX);
|
||||
class Circulant : public Eigen::MatrixBase<Circulant<ArgType> > {
|
||||
public:
|
||||
Circulant(const ArgType& arg) : m_arg(arg) {
|
||||
EIGEN_STATIC_ASSERT(ArgType::ColsAtCompileTime == 1, YOU_TRIED_CALLING_A_VECTOR_METHOD_ON_A_MATRIX);
|
||||
}
|
||||
|
||||
typedef typename Eigen::internal::ref_selector<Circulant>::type Nested;
|
||||
typedef typename Eigen::internal::ref_selector<Circulant>::type Nested;
|
||||
|
||||
typedef Eigen::Index Index;
|
||||
Index rows() const { return m_arg.rows(); }
|
||||
|
||||
Reference in New Issue
Block a user