Hi,
>>> from sympy import symbols, limit
>>> x = symbols('x')
>>> a = "apple"
>>> limit(x, x, a)
apple
*I do not know the meaning of the a symbol tending to a string.Even if it
is correct then what is its use or significance.*
--
You received this message because you are subscribed to t
Some functions convert strings to expressions automatically. It is not
recommended to do this, though. See
https://github.com/sympy/sympy/wiki/Idioms-and-Antipatterns#strings-as-input.
Aaron Meurer
On Sun, Mar 29, 2015 at 8:32 AM, Gaurav Dhingra wrote:
> Hi,
>
from sympy import symbols, lim
Thaks @Asmeurer . I understood it.
On Monday, March 30, 2015 at 5:07:52 AM UTC+5:30, Aaron Meurer wrote:
>
> Some functions convert strings to expressions automatically. It is not
> recommended to do this, though. See
>
> https://github.com/sympy/sympy/wiki/Idioms-and-Antipatterns#strings-as-inp
Hi--
I can give a symbol a latex representation with:
x1=symbols(r'x_{1}')
How do I create a function with a latex representation?
Ic=symbols(r'I_{C}',cls=Function)
Ic=Function(r'I_{C}')
Don't seem to work... They pretty print as strings.
Thanks--
--
You received this message because you ar
Interesting.
Function('V_{C}')
returns a string (V_{C})
Function('V_{C}')(t)
returns proper latex. It must be how it's handled in the printer...
On Sunday, March 29, 2015 at 10:13:36 PM UTC-7, G B wrote:
>
> Hi--
>
> I can give a symbol a latex representation with:
>
> x1=symbols(r'x_{1}')