Inheritance problemOK. Looks like I found a solution myself. I have to use pointers to derived class and virtual method...
Inheritance problemI think the best way to understand the problem is to look at an example of the behaviour I would lik...
Setting members of base class through a constructor of a derived classI have an abstract base class with a protected member vector<MatrixXd*> pS;. However, whether the co...
Armadillo library question (people with knowledge about any other linear algebra c++ package may be able to help)[quote]Actually, I just noticed that you never free it. Memory that is allocated with new has to be ...
Armadillo library question (people with knowledge about any other linear algebra c++ package may be able to help)Thanks for prompt reply. It makes sense. Probably in this case I can just output pointer to matrix (...