Vol.0-12で作成したコード群の処理内容について、plantUMLを用いて図にしました。参考になれば幸いです。 PythonとC++の連携概念図 説明文 この概念図は、これまでに実装した1次元熱伝導ソルバーにおいて、PythonとC++がどのように連携し、データがどのように ...
この記事は筆者が当時使っていたX86アーキテクチャで動作するMacに向けた記事であり、すでにレガシーなものとなっています。Apple silicon搭載のMacを利用しているPytorchユーザーの方は、PytorchのMPSバックエンドの利用を推奨します。 これまで数学の話が多かっ ...
Rough descriptions of how to call a C++ function through ctypes in Python on Windows. Calling a C++ function on a 2D numpy array took me about 2 hours to figure out, even with the entire internet as a ...
I need newer Python but I don't need newer CEF! Python C extension is a good thing but it has a severe drawback: ABI instability. Almost everyone ignores Limited API, e.g. pybind11. Yes, cefpython ...