mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
9 lines
146 B
Plaintext
9 lines
146 B
Plaintext
int main()
|
|
{
|
|
Eigen::VectorXd vec(4);
|
|
vec << 1, 2, 4, 8;
|
|
Eigen::MatrixXd mat;
|
|
mat = makeCirculant(vec);
|
|
std::cout << mat << std::endl;
|
|
}
|