Boost logo

Ublas :

From: Markus Weimer (markus.weimer_at_[hidden])
Date: 2007-05-23 22:48:47


I have an additional question: Does uBLAS support runtime polymorphsim?
Think of the following PseudoCode example:

matrix getMatrix():
  if(config.useDense()) return denseMatrix;
  else return sparseMatrix

And somewhere else I want to deal with the returned matrix irregarding its
storage structure.

Is that possible?

Thanks in advance,