Registered Member
|
I know the way to init dense vector from an array is as follows:
VectorXd vec = Map<VectorXd>(ptr, size) Now, I want to init sparse vector from an array (or pointer and size). Like dense vector, I try to use "Map" to init sparse vector, but failed... Is there someone that can help me solve this problem? |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell