The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* » sci.math.num-analysis

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: dumb matrix question
Replies: 8   Last Post: May 12, 2011 3:14 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Eli Osherovich

Posts: 37
Registered: 6/5/05
Re: dumb matrix question
Posted: May 12, 2011 3:14 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 05/12/2011 03:44 AM, robin wrote:
> "Eli Osherovich"<> wrote in message news:iqdgc8$5la$
> | By the way, I do not know whether you prefer speed over short (and
> | elegant?) code, however, in the past I ran extensive speed tests for a
> | close problem: multiplying all matrix *columns* by a scalar. The fastest
> | way was to use an explicit loop.
> Since you were, in effect, multipying the entire array by a scalar,
> the fastest way would be to overlay a vector over the entire array
> and to multiply that by the scalar.

Robin, I am afraid your message is not clear to me. Algebraically, my
function computed A*D, where D was a diagonal matrix.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.