epfl-archive/cs440-acg/ext/eigen/doc/examples/make_circulant.cpp.entry
2022-04-07 18:46:57 +02:00

6 lines
145 B
Plaintext

template <class ArgType>
Circulant<ArgType> makeCirculant(const Eigen::MatrixBase<ArgType>& arg)
{
return Circulant<ArgType>(arg.derived());
}