| Crates.io | accelerate-general |
| lib.rs | accelerate-general |
| version | 0.1.0 |
| created_at | 2024-10-12 10:48:36.243381+00 |
| updated_at | 2024-10-12 10:48:36.243381+00 |
| description | A general matrix and vector operations library using Apple's Accelerate framework. |
| homepage | https://github.com/wupeng1221/accelerate-general |
| repository | https://github.com/wupeng1221/accelerate-general |
| max_upload_size | |
| id | 1406431 |
| size | 252,382 |
This project provides Rust FFI bindings to interact with Apple's Accelerate framework, enabling efficient matrix and vector operations with both single-precision (f32) and double-precision (f64) floating-point numbers, as well as complex numbers (Complex<f32>, Complex<f64>).
f32) and double (f64) precision operations.The project uses the following dependencies:
num-complex: To support complex number operations in Rust.std::ffi: For calling C functions via FFI.[dependencies]
num-complex = "0.4"
Clone the repository and include it in your project by adding the following to your Cargo.toml:
[dependencies]
accelerate-general = { path = "/path/to/your/cloned/repo" }
All functions in this library are marked as unsafe since they directly interface with C libraries via FFI. It is the responsibility of the caller to ensure that:
This project is licensed under the MIT License - see the LICENSE file for details.
This project uses Appleās Accelerate framework for optimized matrix and vector operations. The Accelerate framework provides high-performance BLAS routines that are used via FFI in this project.