Registered Member
|
I'm trying to inherit from SparseMatrix where the non-type template parameters determine the size of the matrix. These parameters are not the sizes themselves but instead are used to compute the size:
I'm trying to get this class to multiply correctly but can't figure it out. I tried the following:
And then tried calling:
Anybody know how(if) this can be done? |
Moderator
|
adding:
in the public section might help. btw, what's the purpose of having sizes determined from compile time parameters? for small dense matrices it does make sense, but not for sparse matrices. |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]