<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chrofieyue</author_name>
  <author_url>https://blog.hatena.ne.jp/chrofieyue/</author_url>
  <blog_title>Next MIDI Project</blog_title>
  <blog_url>https://chrofieyue.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>あらすじ boost-python を使用して、Python と C 言語両方を活用する方法を説明しています。 前記事では、Python・C 言語間で簡単なオブジェクトを受け渡す方法を解説しました。 本記事では、任意の Python モジュールを C 言語から呼び出す方法を解説します。 準備 以降、色々と SciPy の機能を使うことがあります。このとき、以下のコードを拡張モジュール側に書き込む必要があります。 #include &lt;numpy/arrayobject.h&gt; BOOST_PYTHON_MODULE(hello) { numeric::array::set_module_and_t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchrofieyue.hatenadiary.org%2Fentry%2F20120515%2F1337010919&quot; title=&quot;boost-python ではじめる大規模機械学習（３）- Python モジュールの呼び出し - Next MIDI Project&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-05-15 00:55:19</published>
  <title>boost-python ではじめる大規模機械学習（３）- Python モジュールの呼び出し</title>
  <type>rich</type>
  <url>https://chrofieyue.hatenadiary.org/entry/20120515/1337010919</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
