- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 688
 
Description
In new symbolics, the default symbolic variables are complex.
However, sometime it is useful/desirable to make the domain of
variables to be real.
Currently, there are no way to specify the domain of variables
in Sage although underlying Ginac allows it.  For example: following
would to be good to have.
sage: var('x,y,z', domain='real')
Instructions for installing these patches (sage-4.1.1)
(1) Pynac patch
(a) Get the pynac spkg
http://sage.math.washington.edu/home/burcin/pynac/pynac-0.1.8.p2.spkg
(b) Apply the pynac patch for enhanced symbols
http://www.math.unb.ca/~ghossain/texname-and-domain-of-symbols-pynac.patch
(c) install the patched spkg in Sage.
OR if you are feeling lazy, you can directly install my patched copy of pynac from here
http://www.math.unb.ca/~ghossain/pynac-0.1.8.p2-symbols.spkg
(2) Sage patch:
Apply the attached sage patch after modified pynac spkg is installed
Notes:
#6403 will also be resolved by this patch
#6340 patch conflicts with this patch. This patch here should supersede the patch at #6340.
Component: symbolics
Keywords: pynac
Author: Golam Mortuza Hossain, Burcin Erocal
Reviewer: Karl-Dieter Crisman, Ross Kyprianou, Minh Van Nguyen
Merged: sage-4.3.3.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/6559