From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 9 16:12:52 2002 Subject: Re: logarithmic steps in for From: Francesco Potorti` To: Ignacio Mas Ivars CC: help-octave at bevo dot che dot wisc dot edu Date: Wed, 09 Jan 2002 23:12:44 +0100 Is there a way to define a range of values for a 'for' loop with logarithmic steps? logspace Is there an isprime function for octave? If there is, how many digits can it handle? I am looking at checking for 'primeness'(prolly wrong term) of a few big numbers. If the numbers are less than 2^31, you can use the factor(1) program present in every Unix. -- Francesco Potort́ (researcher) Voice: +39 050 315 3058 (op.2111) CNUCE - Area della ricerca CNR Fax: +39 050 313 8091 via G. Moruzzi 1, I-56124 Pisa Email: F dot Potorti at cnuce dot cnr dot it Web: http://fly.cnuce.cnr.it/ Key: fly.cnuce.cnr.it/public.key ------------------------------------------------------------- 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 -------------------------------------------------------------