|
From: Daniel J S. <dan...@ie...> - 2010-12-29 22:10:53
|
Hans-Bernhard Bröker wrote:
> On 29.12.2010 21:18, Daniel J Sebald wrote:
>
>> Shouldn't operators work inside complex numbers?
>
>
> No. Operators never work inside numbers. Gnuplot's {a,b} syntax is for
> complex numbers, not complex expressions.
>
>> gnuplot> print {2**31-1,1}
>> ^
>> invalid complex constant
>
>
> The way of getting that is
>
> print 2**31-1 + {0,1}
>
> Most people would probably want to define
>
> i={0,1}
>
> somewhere and then write
>
> print 2**31-1 + 1*i
Easy enough.
Dan
|