help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IDL's temporary() function


From: Carlo de Falco
Subject: Re: IDL's temporary() function
Date: Tue, 22 Apr 2008 18:11:53 +0100


On 22/apr/08, at 17:04, Judd Storrs wrote:

This means that in IDL rewriting "a = 5*a + 1" as "a = 5*temporary (a)+1" avoids duplicating the contents of a.

I guess in octave

a *= 5;
a += 1;

does the same as your example
c.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]