<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saket</author_name>
  <author_url>https://blog.hatena.ne.jp/saket/</author_url>
  <blog_title>Risky Dune</blog_title>
  <blog_url>https://saket.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>プログラミング</anon>
    <anon>C++</anon>
  </categories>
  <description>Boost.PythonでNumPyのarrayを受け取る手段として, NumPyが提供するCのAPIを使うという手がある. 使いづらいが機能的には完全であることと, CとPythonを協調して使う際の知見となるため, 記録を残しておく.基本的な使い方はこちらのページを見ればわかる. Boost.PythonとNumPy C APIを同時に使っている例は, この投稿に載っている. 今回のサンプルはこの投稿につけられた「こうした方がいいよ」という点を反映したものである.基本的な操作はBoost.Pythonのobjectクラスを使って行うが, 一部のNumPy APIを使う場合は, object…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsaket.hatenadiary.org%2Fentry%2F20120406%2F1333702640&quot; title=&quot;Boost.PythonとNumPy Array (C API編) - Risky Dune&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-04-06 17:57:20</published>
  <title>Boost.PythonとNumPy Array (C API編)</title>
  <type>rich</type>
  <url>https://saket.hatenadiary.org/entry/20120406/1333702640</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
