Experimental Linear Algebra library written in Rust
Project description
Lana 🧶
Linear Algebra for nocturnal and adventurous data scientists.
Install
pip install lana
Example
from lana import Matrix
zeros = Matrix.zeros((3,3))
print(zeros)
print(f"shape: {zeros.shape}, type: {type(zeros)}")
print(zeros.to_list()[0], zeros.to_list()[0][0])
mat = Matrix.matrix([[1,2,3],[4,5,6]])
print(mat)
print(f"shape: {mat.shape}, type: {type(mat)}")
for rows in mat.to_list():
print(rows, type(rows))
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
lana-0.1.7.tar.gz
(8.3 kB
view hashes)
Built Distributions
lana-0.1.7-cp311-none-win_amd64.whl
(497.2 kB
view hashes)
Close
Hashes for lana-0.1.7-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d97cf7f1eea4b0075671adb817910def6b1d50660194f6ecbedf51461e2bf8b |
|
MD5 | c3970a1c936e20512795bce597081f0f |
|
BLAKE2b-256 | 6b50ed19aae7d25a63927d56a9738b7855bd41e8657a7db47e00e5b9e249a57d |
Close
Hashes for lana-0.1.7-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71bd31519b62f392d514d18eb1be1baa6cb06d66d44993ceaa1e2b68db73f140 |
|
MD5 | 1b470dbbf1554aa4441d59bd9b31468c |
|
BLAKE2b-256 | 01a4b8bb2dbf6d8c05e88b7c28071b92987317eee0c473248c8674d018c045a1 |