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.6
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.6.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for lanablas-0.0.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0989f576154a03d433059a1eff5f15251f3b295d4b54d33206f3bca204a664 |
|
MD5 | b4a7d65bce490e65377535d2f3a9398b |
|
BLAKE2b-256 | 435b183bfc6b977f7724998f6631c7feac39acc9d05ff11ed2dfaed4404e609f |