From: Manav Bhatia <bhatiamanav@gm...>  20130723 16:31:12

I have been doing this for a while using some modifications to the dense_matrix class. Attached are three files dense_matrix header and source, and the dense_matrix_blas_lapack to facilitate the multiplication of real matrix with complex vector. Hope this helps. Manav On Tue, Jul 23, 2013 at 12:15 PM, John Peterson <jwpeterson@...>wrote: > 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 > >  > See everything from the browser to the database with AppDynamics > Get endtoend visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Libmeshusers mailing list > Libmeshusers@... > https://lists.sourceforge.net/lists/listinfo/libmeshusers > 