help-octave
[Top][All Lists]
Advanced

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

Re: two_pi ?


From: Francesco Potortì
Subject: Re: two_pi ?
Date: Wed, 12 Sep 2012 14:15:09 +0200

>It is possible to write  2i  instead of  2*i  , so why not  2pi
>instead of  2* pi  ? I don't know whether it's hard to implement or if
>there are any unwanted side effects, though.

I think that i, I, j and J are special-cased in the parser.  You can't
use that syntax with any other variable or function.  I suppose that
this is Matlab-compatible, so it cannot be changed.

-- 
Francesco Potortì (ricercatore)        Voice:  +39.050.315.3058 (op.2111)
ISTI - Area della ricerca CNR          Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa         Fax:    +39.050.315.2040  
(entrance 20, 1st floor, room C71)     Web:    http://fly.isti.cnr.it


reply via email to

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