help-octave
[Top][All Lists]
Advanced

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

Re: sqrt(1:4)(1:2:4) -> 1.0000 1.4142 1.7321 2.0000


From: Paul Thomas
Subject: Re: sqrt(1:4)(1:2:4) -> 1.0000 1.4142 1.7321 2.0000
Date: Sun, 31 Oct 2004 15:36:37 +0100

Herewith, an interesting wrinkle to this story (octave-2.1.59)

octave:1> sqrt([1:4])(1:2:4)
ans =

  1.0000  1.4142  1.7321  2.0000

octave:2> sqrt([1:4])'(1:2:4)
ans =

  1.0000
  1.7321

Paul T



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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