Extension module for matrix multiplication
Project description
LanaBLAS 🐑
Linear Algebra for nocturnal and adventurous data scientists exploring BLAS
LanaBLAS is a repository primarily used for testing the development of CPython extension modules with external dependencies, such as (OpenBLAS). It's a work-in-progress memetic project aimed at having fun and learning new things.
Install
Actually, the package is currently only available for macOS x86. Wheels for ARM and Linux platforms will be added to the PyPI registry as soon as possible.
pip install lanablas==0.0.9
Example
from lanablas import Matrix
a = Matrix.ones(3,3)
print(a)
print(type(a), a.shape)
b = Matrix.eye(3)
print(b)
print(type(b), b.shape)
c = a + b
print(c)
print(type(c), b.shape)
For more comprehensive examples, please visit the examples folder
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lanablas-0.0.9.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for lanablas-0.0.9-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e18c4d397097364bff2a78fcd0efd8fc147e361afc779ef989cbfbd322948ae |
|
MD5 | 23d9872f5df8ed2e238d0453c4fc7e5e |
|
BLAKE2b-256 | 6446c4f42939120aeba7c0a45c6f6869ee944a3efe996861bf90baa9d3b5fe47 |