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.4.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for lana-0.1.4-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bfd39161f0dbf1411f413458d4f345a331820d1e1741d1505c8db58b61398d1 |
|
MD5 | 926c62f4be82d34cbd5e1fdf4794c27a |
|
BLAKE2b-256 | 3f956f9209657a77d88e4b3b2c81cf58ce91ebdf992a65bfef529499baae52bb |