COSC-4P80-Assignment-2/lib/eigen-3.4.0/doc/snippets/Cwise_arg.cpp

4 lines
85 B
C++

ArrayXcf v = ArrayXcf::Random(3);
cout << v << endl << endl;
cout << arg(v) << endl;