mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
New doc page on implementing a new expression class.
This commit is contained in:
8
doc/examples/make_circulant.cpp.main
Normal file
8
doc/examples/make_circulant.cpp.main
Normal file
@@ -0,0 +1,8 @@
|
||||
int main()
|
||||
{
|
||||
Eigen::VectorXd vec(4);
|
||||
vec << 1, 2, 4, 8;
|
||||
Eigen::MatrixXd mat;
|
||||
mat = makeCirculant(vec);
|
||||
std::cout << mat << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user