Hi John,

I am using DenseVector<Number> and I would like to multiply it with a 
DenseMatrix<Real> to avoid unnecessary computations. 

Best,
Kathrin 

Am 23.07.2013 um 12:15 schrieb John Peterson <[email protected]>:

> 
> 
> 
> On Tue, Jul 23, 2013 at 10:10 AM, Kathrin Smetana <[email protected]> wrote:
> Hi all,
> 
> I am working on a elastodynamics-problem with a complex-valued 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 end-to-end 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
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to