Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Temporary output when assigning into slices?
Replies: 10   Last Post: Jan 27, 2013 3:53 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Matt J

Posts: 4,996
Registered: 11/28/09
Re: Temporary output when assigning into slices?
Posted: Jan 23, 2013 4:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kdpk0k$mmi$1@newscl01ah.mathworks.com>...
> "Matt J" wrote in message <kdpja4$jnk$1@newscl01ah.mathworks.com>...
>

> >
> > Don't you mean, that optimization cannot be carried out in the *latter* example? I can see for example why
> >
> > A=B(1,idx)*C
> >
> > might have to extract B(1,idx) to a continguous memory block when C is a matrix. In that case the elements in B(1,idx) will be accessed many times.

>
> I'm talking about accessing memory of the result, meaning lhs.

=============

If so, why doesn't this apply to both examples? The LHS is the same in these examples.



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.