 |
|
List Archives > 
Maple User Group List Archive > 
Archive by date > 
This Month By Date > 
This Month By Topic
[MUG] Re: gamma
| [MUG] Re: gamma |
|
Author: Robert Israel
Posted: Thu, 27 Jun 2002 11:48:48 -0700
|
>> From: Robert Israel "israel"
Well, I think this does it:
> forget(`simpl/simpl/Im/is`,gamma);
forget(`simpl/simpl/Re/is`,gamma);
forget(`type/EvalfableProp`,gamma);
unassign(`evalf/gamma`);
`evalf/constant/gamma`:= proc() gamma end;
constants:= op({constants} minus {gamma});
(it doesn't seem to be enough to unassign `evalf/constant/gamma`, because
at some point that procedure would just be loaded back from the
repository).
At least, you now have the following:
> evalf(gamma);
gamma
> conjugate(gamma);
_____
gamma
> Im(gamma);
Im(gamma)
> Re(gamma);
Re(gamma)
But I can't guarantee that this will work in all situations.
Robert Israel "israel"
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2
On Wed, 26 Jun 2002, Norbert Van den Bergh wrote:
> Does anyone know how to tell Maple 7 that it should regard gamma as an
> arbitrary parameter (possibly complex) and not as 0.5772156649... ?
> I spend some time trying stuff like
>
> > restart:
> > constants := op({constants} minus {gamma});
> > unprotect(gamma): gamma := 'gamma':
> > unassign(`evalf/constant/gamma`):
> > forget(`type/EvalfableProp`, gamma):
> > forget(`type/realcons`, gamma):
> > forget(`simpl/simpl/Im/is`, gamma):
> > forget(evalf, gamma):
>
> but conjugate(gamma) persists in returning gamma rather than "gamma
> bar". The reason is -I think- that evalf is called, which decides that
> gamma is real. I don't succeed however in convincing evalf to forget
> what it knows about gamma ...
>
> Any help would be greatly appreciated,
>
> Norbert Van den Bergh
> Fac. of Applied Sciences
> University of Gent, Belgium.
>
>
>
>
>
>
|
[View Complete Thread]
Previous by date: [MUG] Index of non-randomness, Jason C Leach
Next by date: [MUG] What is 'stata'?, Ada Ma
Previous thread: [MUG] Problem: In RHLinux 6.2 Clicking on Help has MapleV5 hanging, Colin Benjamin
Next thread: [MUG] What is 'stata'?, Ada Ma
|
|
|