Bugs item #764572, was opened at 2003-07-02 12:56
Message generated for change (Settings changed) made by gustav_delius
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439479&aid=764572&group_id=44411
Category: Marking
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Complex number I leads to compilation error
Initial Comment:
The following question
t> Give $\sqrt{-1}$.
a> I
end>
gives the compilation error
Error while globalizing variables:
invalid parameters for creation of table or array
iproc =
The same problem occurs if I try
t> Give $\sqrt{-1}$.
a> Complex(0,1)
end>
However the following works:
t> Give $\sqrt{-1}$.
a> sqrt(-1)
end>
If you need I somewhere in your calculations the safest
solution that Marc found is to define a variable
b:= sqrt(-1)
and then use b instead of I everywhere.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439479&aid=764572&group_id=44411
|