What about removing the uBLAS-wrappings found in (matSubSup.hpp &
uBLASmatrix.hpp), and instead use uBLAS natively in Bayes++?
Advantages:
1: Easier integration with other linear-algebra projects, since
"ublas::vector<T>" and "ublas::matrix<T>" could be used consistently through
the project, yielding more consistent and easier to read sourcecode. (I know
Vec/Mat inherits their uBLAS counterparts, so this is not strictly
neccesary; but it would still yield more consistent code.)
2: IntelliSense code-completion in Visual-Studio does not work for Vec/Mat
in Bayes++, due to all the wrappings. Programming would be more productive
if code-completion would work.
Disadvantages:
1: One would loose the matrix-library neutrality, but is this really that
importaint? It seems to me like uBLAS has established itself as "the"
lin-alg lib for C++.
mvh.
Fredrik Orderud
|