From: John Peterson <jwpeterson@gm...>  20130723 16:16:06

On Tue, Jul 23, 2013 at 10:10 AM, Kathrin Smetana <ksmetana@...> wrote: > Hi all, > > I am working on a elastodynamicsproblem with a complexvalued > displacement field. Hence I want to multiply a dense matrix of type real > with a vector of type number. As the DenseMatrix class only allows > multiplication of a matrix and a vector of the same type, I was wondering > if there might be a more elegant to do this than always changing the type > of the matrix before applying the function vector_mult. > More elegant to me would just be to use DenseVector<Number> instead of whatever you are currently using. Multiplication is defined between two members of R or two members of C, but not one of each :)  John 