<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fortran66</author_name>
  <author_url>https://blog.hatena.ne.jp/fortran66/</author_url>
  <blog_title>fortran66のブログ</blog_title>
  <blog_url>https://fortran66.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>SymPy で記号演算した結果の Fortran からの利用 Fortran から Julia を呼んで、そこで PyCall + SymPy して記号処理します。出てきた結果を Julia の関数として定義して、それを Fortran から呼び出します。 実行結果 まず julia で普通に f(x) = x2 と定義した関数が Fortran から呼び出せることを確かめます。次に SymPy で log(x)/x を積分してやると log(x)2/2 と求まるので、これを Julia の関数に直します。そうして Fortran から呼び出します。念のため Fortran 側で log(x)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffortran66.hatenablog.com%2Fentry%2F2020%2F11%2F08%2F211926&quot; title=&quot;【メモ帳】Fortran から Julia 呼び出し　その４ （SymPy） - fortran66のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://m.media-amazon.com/images/I/51Qx3rlV-JL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-08 21:19:26</published>
  <title>【メモ帳】Fortran から Julia 呼び出し　その４ （SymPy）</title>
  <type>rich</type>
  <url>https://fortran66.hatenablog.com/entry/2020/11/08/211926</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
