rust-numpy:NumPy C-API的基于PyO3的Rust绑定

时间:2021-04-30 13:28:56
【文件属性】:
文件名称:rust-numpy:NumPy C-API的基于PyO3的Rust绑定
文件大小:64KB
文件格式:ZIP
更新时间:2021-04-30 13:28:56
numpy rust-bindings ndarray rust-ndarray numpy-capi 锈麻木 NumPy C-API的Rust绑定 API文档 要求 锈> = 1.41.1 基本上,我们的MSRV遵循。 Python> = 3.6 Python 3.5支持从0.13下降 一些Rust库 生锈的矩阵库的 用于cpython绑定 以及更多(请参阅 ) 安装在你的Python环境(例如,通过pip install numpy ) 我们建议numpy >= 1.16.0 ,尽管较旧的版本可能会起作用。 注意从0.3开始,rust-numpy从rust-cpython迁移到pyo3。 如果要使用rust-cpython,请使用crates.io中的0.2.1版。 Python2支持 版本0.5.0是支持Python2的最新版本。 如果要使用Python2编译该库,请使用crates.io中的0.5.0。 另外,您必须在Cargo.toml添加功能标记,例如 [ depe
【文件预览】:
rust-numpy-main
----.gitignore(351B)
----src()
--------slice_box.rs(2KB)
--------readonly.rs(8KB)
--------sum_products.rs(4KB)
--------error.rs(3KB)
--------convert.rs(9KB)
--------dtype.rs(8KB)
--------array.rs(38KB)
--------npyffi()
--------npyiter.rs(20KB)
--------lib.rs(3KB)
----LICENSE(1KB)
----CHANGELOG.md(2KB)
----Cargo.toml(684B)
----.github()
--------workflows()
----examples()
--------linalg()
--------simple-extension()
----README.md(4KB)
----tests()
--------iter.rs(3KB)
--------to_py.rs(5KB)
--------sum_products.rs(2KB)
--------array.rs(7KB)

网友评论