Matrix*Vector and Vector*Matrix

H

Holgerson

Hi everybody,

I wonder if someone knows how to implement an operator* into NRVec and/
or NRMat, respectively, that can perform these kind of operations:
Matrix*Vector and Vector*Matrix. Thanks a lot,

Holger
 
G

Guest

Hi everybody,

I wonder if someone knows how to implement an operator* into NRVec and/
or NRMat, respectively, that can perform these kind of operations:
Matrix*Vector and Vector*Matrix. Thanks a lot,

See my reply to your other question for answers on that one. Please
notice though that these kinds of operations are usually undesirable
since they do not perform so well.
 
V

Valeriu Catina

Holgerson said:
Hi everybody,

I wonder if someone knows how to implement an operator* into NRVec and/
or NRMat, respectively, that can perform these kind of operations:
Matrix*Vector and Vector*Matrix. Thanks a lot,

Holger


Hi,

I think you'd better try the blitz array library from
http://www.oonumerics.org/blitz/ and modify the NR algorithms to work
with it.
It has pretty much everything you need and it's very efficient (uses
expression templates).
 
H

Holgerson

Hi,

I think you'd better try the blitz array library fromhttp://www.oonumerics.org/blitz/and modify the NR algorithms to work
with it.
It has pretty much everything you need and it's very efficient (uses
expression templates).

Dear Valeriu,

I did load that blitz-tool down and it looks very promising to me, so
I may want to use it. Thanks a lot,

Holger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top