By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,024 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,024 IT Pros & Developers. It's quick & easy.

Matrix*Vector and Vector*Matrix

P: n/a
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

Oct 25 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On 2007-10-25 11:10, Holgerson wrote:
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.

--
Erik Wikström
Oct 25 '07 #2

P: n/a
Holgerson wrote:
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).

Oct 25 '07 #3

P: n/a
On Oct 25, 8:02 pm, Valeriu Catina <cat...@NOSPAMuni-bremen.dewrote:
Holgerson wrote:
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 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

Oct 26 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.