autowrap vs codegen

20 views
Skip to first unread message

Kamel Ibn Aziz Derouiche

unread,
Sep 10, 2016, 8:00:39 PM9/10/16
to sympy
Hi All,

I'am new member -:) . A sample question:

What difference between  sympy.utilities.autowrap and sympy.utilities.codegen mecanisme?

Bests Regards
Kamel

Jason Moore

unread,
Sep 10, 2016, 11:20:14 PM9/10/16
to sympy
Codegen generates the actual text for a variety of languages, i.e. you have to compile it in that language. Autowrap generates the code, wraps it for use in Python, and then imports the Python code. See: http://docs.sympy.org/latest/modules/codegen.html
Reply all
Reply to author
Forward
0 new messages