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[0], zeros[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:
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.5.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for lana-0.1.5-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c01d814d182926a2ba298648a6ed79a7bc1ac15193458019100d3971fa1229f4 |
|
MD5 | ec8ad9b574dcb1961ff24996fe2c28e4 |
|
BLAKE2b-256 | d5c16715c69e0144e5e73e249864aab8611b5f464fe094bee247783c10d6f896 |