COSC-4P80-Assignment-2/lib/eigen-3.4.0/doc/examples/make_circulant.cpp.main

9 lines
146 B
Plaintext
Raw Normal View History

2024-10-21 16:42:03 -04:00
int main()
{
Eigen::VectorXd vec(4);
vec << 1, 2, 4, 8;
Eigen::MatrixXd mat;
mat = makeCirculant(vec);
std::cout << mat << std::endl;
}