aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/make_circulant.cpp.entry
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/make_circulant.cpp.entry')
-rw-r--r--doc/examples/make_circulant.cpp.entry5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/examples/make_circulant.cpp.entry b/doc/examples/make_circulant.cpp.entry
new file mode 100644
index 000000000..f9d2eb8a9
--- /dev/null
+++ b/doc/examples/make_circulant.cpp.entry
@@ -0,0 +1,5 @@
+template <class ArgType>
+Circulant<ArgType> makeCirculant(const Eigen::MatrixBase<ArgType>& arg)
+{
+ return Circulant<ArgType>(arg.derived());
+}