Registered Member
|
hello
I have 2 MatrixXd, and I hope to construct one MatrixXcd from them, how can I realize it? I checked the manual, but couldn't find. It's easy to read in numbers for a simple MatrixXd, but I couldn't find similar way to input data into a complex MatrixXcd, did I miss something? |
Registered Member
|
loop over the values of the matrix and use std::complex
|
Moderator
|
there is a more direct solution:
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]