Bugs item #764611, was opened at 2003-07-02 14:18
Message generated for change (Settings changed) made by gustav_delius
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439479&aid=764611&group_id=44411
Category: Marking
Group: None
>Status: Closed
>Resolution: Fixed
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.
----------------------------------------------------------------------
Comment By: Greg Gamble (gregg0)
Date: 2003-08-23 19:18
Message:
Logged In: YES
user_id=766524
Just last week I encountered this problem when putting a
quiz together, I used i
;-)
I guess the same cause prevents one being able to use the
differential operator D.
----------------------------------------------------------------------
Comment By: Gustav W Delius (gustav_delius)
Date: 2003-08-23 16:37
Message:
Logged In: YES
user_id=737246
Neil, will you get around to fixing this for AiM 3.0? If not I will
update the documentation to tell the user to use sqrt(-1)
instead of I or Complex(0,1).
----------------------------------------------------------------------
Comment By: Gustav W Delius (gustav_delius)
Date: 2003-08-23 16:35
Message:
Logged In: YES
user_id=737246
Neil, will you get around to fixing this for AiM 3.0? If not I will
update the documentation to tell the user to use sqrt(-1)
instead of I or Complex(0,1).
----------------------------------------------------------------------
Comment By: Gustav W Delius (gustav_delius)
Date: 2003-08-23 16:34
Message:
Logged In: YES
user_id=737246
Neil, will you get around to fixing this for AiM 3.0? If not I will
update the documentation to tell the user to use sqrt(-1)
instead of I or Complex(0,1).
----------------------------------------------------------------------
Comment By: Neil Strickland (npstrick)
Date: 2003-07-03 12:52
Message:
Logged In: YES
user_id=430681
This problem is caused by a bug in the makeglobal function
in the codegen package, which is (as of Maple 8) deprecated
in favour of the ToInert function and related utilities. I
therefore propose to do nothing about it until I get around
to rewriting the `aim/Compile` function to use ToInert.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439479&aid=764611&group_id=44411
|