Registered Member
|
Hi everyone,
I'm not good in c++ and I need some help on this. I have a function let's say Foo like:
This function doesn't work and gives me error. How can I return such a thing? Thank you so much. |
Moderator
|
MatrixXd::Random is a function, not a MatrixXd! You first need to allocate and then assign:
|
Registered Member
|
Thanks for the quick reply.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]