Ok. I saw the change in codegen for this problem.
Sorry for this post.
Loic
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sympy+unsubscr...@googlegroups.com.
To
Hi,
I have this code
from sympy import *
i = Idx('i')
A = Indexed('A', i)
A.free_symbols
for a in A.free_symbols:
print(type(a))
It seems that the behavior has changed. With a previous version of SymPy,
all the types are Symbol which is what I expected.
But in the master branch,
Thanks Aaron for the links. But it is just new languages support. So, the
core of code printers in SymPy is the same.
I can add support for Cython, loopy and Pythran but I need more
informations about the higher level
abstractions like loops. Is it your CodeBlocks and ast file ? What is the
I published accidentally so I finish my message here. Sorry...
In the last example, I have to add n and m as local variables which depends
on the shape of A or f.
The most difficult for me in this implementation is the Idx: are they
local, in a loop, in the function parameters, ... And this
Hi,
I took a look at the GSoC 2017 ideas and I saw that one of the topics was
the code generation. You said that there is work on updating the system
ongoing. I'm really interested to know what this work is about.
I will try to explain why. I develop a Python package call pyLBM
Le dimanche 26 avril 2015 21:03:02 UTC+2, Aaron Meurer a écrit :
On Sun, Apr 26, 2015 at 12:27 AM, Loïc Gouarin loic.g...@gmail.com
javascript: wrote:
Hi,
I would like to parse a string expression like that
from sympy.parsing.sympy_parser import parse_expr
parse_expr(m[0][0
Le lundi 27 avril 2015 08:59:38 UTC+2, Loïc Gouarin a écrit :
Le dimanche 26 avril 2015 21:03:02 UTC+2, Aaron Meurer a écrit :
On Sun, Apr 26, 2015 at 12:27 AM, Loïc Gouarin loic.g...@gmail.com
wrote:
Hi,
I would like to parse a string expression like that
from
Hi,
I would like to parse a string expression like that
from sympy.parsing.sympy_parser import parse_expr
parse_expr(m[0][0])
But I have an error with 'Symbol' object does not support indexing.
If I do
sympy.Symbol(m[0][0])
everything is ok.
I try to write my own transformation funtion