Matrix class

Bill Baxter dnewsgroup at billbaxter.com
Wed May 9 13:17:31 PDT 2007


Bill Baxter wrote:

> But if you have different storage schemes you want to be able to do 
> things like sparse_mat * dense_vec,  or dense_mat + 
> upper_triangular_mat.   It's a multiple dispatch problem so it requires 
> some thinking.  The approach I've seen is to

Oops forgot to compelete that thought.  Take a look at things like 
Boost::ublas or MTL (Matrix Template Library) if you want some ideas how 
to deal with different storage mechanisms.

--bb


More information about the Digitalmars-d-learn mailing list