{"published":"2011-05-16 11:10:40","blog_url":"https://ryamada.hatenadiary.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada.hatenadiary.jp%2Fentry%2F20110516%2F1305511840\" title=\"\u6570\u5f0f\u306e\u6271\u3044 sympy\u3092R\u3067 - ryamada\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fb\u6570\u5b66\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","categories":["R"],"type":"rich","version":"1.0","height":"190","image_url":null,"author_name":"ryamada","provider_name":"Hatena Blog","description":"\u3053\u3053\u3067\u5c24\u5ea6\u6bd4\u3092\u6271\u3063\u3066\u3044\u308b \u5c24\u5ea6\u6bd4\u306f\u3001\u5c24\u5ea6\uff11\u3068\u5c24\u5ea6\uff12\u306e\u6bd4\uff08\u5272\u308a\u7b97\uff09\u3067\u3042\u308b \u5c24\u5ea6\u306e\u8a08\u7b97\u306f\u3001\u300c\u5834\u5408\u5206\u3051\u300d\u3092\u3057\u3066\u3001\u305d\u308c\u3092\u8db3\u3057\u5408\u308f\u305b\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u5f0f\u304c\u6574\u7406\u7d71\u5408\u3055\u308c\u305a\u306b\u9577\u304f\u306a\u3063\u3066\u3044\u304f\u2026 \u305f\u3068\u3048\u3070\u5c24\u5ea6\u3067\u3042\u308b\u3002 \u3053\u308c\u3092R\u306b\u51e6\u7406\u3057\u3066\u3082\u3089\u304a\u3046 library(rSymPy) p<-Var(\"p\") q<-Var(\"q\") L<-1/8*2*p*q+1/4*p*p+1/4*2*q*p print(L) \u7d50\u679c > L [1] \"0.75*p*q + 0.25*p**2\" \u3053\u308c\u306e\u80cc\u666f\u306fPython library for symbolic mathematics\uff08\u3053\u3061\u3089\uff09 \u5f0f\u306e\u56e0\u6570\u5206\u89e3\u3068\u304b\u3082\u3057\u3066\u307b\u3057\u3044\u306e\u3060\u3051\u308c\u3069\u3001\u305d\u308c\u306f\u2026","width":"100%","blog_title":"ryamada\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fb\u6570\u5b66\u30e1\u30e2","url":"https://ryamada.hatenadiary.jp/entry/20110516/1305511840","title":"\u6570\u5f0f\u306e\u6271\u3044 sympy\u3092R\u3067","author_url":"https://blog.hatena.ne.jp/ryamada/"}