Skip to main content

Experimental Linear Algebra library written in Rust

Project description

Lana 🧶

stability-wip

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


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)

Uploaded Source

Built Distribution

lana-0.1.4-cp39-cp39-macosx_10_7_x86_64.whl (975.1 kB view hashes)

Uploaded CPython 3.9 macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page