- 追加された行はこの色です。
- 削除された行はこの色です。
[[TODO]]
*概要 [#k4bf5d5f]
-シンボリック処理
http://myenigma.hatenablog.com/entry/2015/11/21/222755#その他
http://live.sympy.org/
*リンク [#k95c8487]
-http://myenigma.hatenablog.com/entry/2015/11/21/222755#その他
-http://live.sympy.org/
*Cのコード生成とかLatexがすごい [#n0ffcdfa]
from __future__ import division
from sympy import *
from sympy.utilities.codegen import *
x, y, z=symbols('x y z')
print(sqrt(x))
[(c_name, c_code), (h_name, c_header)] = codegen(("f", sqrt(x*x+y*y+z*z)), "C", "test")
print(c_code)
print(c_header)