Registered Member
|
Hello,
I have a class that takes in the constructor a VectorXd. An instance of this class is contained in another class i.e.
How can I initialize the VectorXd in "one go" to a given size and constant value? the only way I have found is using the following Kungfu:
Is there a simpler way? |
Moderator
|
tip: search for the word "Constant" in the search tool bar of the documentation page: http://eigen.tuxfamily.org/dox/ (top-right corner)...
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]