1 | initial version |
you may import control
under a name convenient for you. Example :
sage: import sympy as sy
now you can use "sy" to access its components :
sage: z=sy.symbols("z")
And the resulting importation works as expected :
sage: z
z
sage: z._sage_()
z
Note that the name sympy
is still used to name its objects !
sage: type(z)
<class 'sympy.core.symbol.symbol'="">
And the name sympy
is still unknown from your namespace :
sage: sympy.Lambda
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Input In [23], in <cell line: 1>()
----> 1 sympy.Lambda
NameError: name 'sympy' is not defined
2 | No.2 Revision |
you may import control
under a name convenient for you. Example :
sage: import sympy as sy
now you can use "sy" to access its components :
sage: z=sy.symbols("z")
And the resulting importation works as expected :
sage: z
z
sage: z._sage_()
z
Note that the name sympy
is still used to name its objects !
sage: type(z)
<class 'sympy.core.symbol.symbol'="">
And the name sympy
is still unknown from your namespace :
sage: sympy.Lambda
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Input In [23], in <cell line: 1>()
----> 1 sympy.Lambda
NameError: name 'sympy' is not defined
Details are in the reference.
3 | No.3 Revision |
you may import control
under a name convenient for you. Example :
sage: import sympy as sy
now you can use "sy" to access its components :
sage: z=sy.symbols("z")
And the resulting importation works as expected :
sage: z
z
sage: z._sage_()
z
Note that the name sympy
is still used to name its objects !
!
sage: type(z)
<class 'sympy.core.symbol.symbol'="">'sympy.core.symbol.Symbol'>
And the name sympy
is still unknown from your namespace :
sage: sympy.Lambda
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Input In [23], in <cell line: 1>()
----> 1 sympy.Lambda
NameError: name 'sympy' is not defined
Details are in the reference.