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, inject

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))

submat = Matrix.matrix(inject(mat.to_list()[0]))
print(submat)
print(submat.shape, type(submat))

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.8.tar.gz (8.4 kB view details)

Uploaded Source

Built Distributions

lana-0.1.8-cp311-none-win_amd64.whl (514.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

lana-0.1.8-cp39-cp39-macosx_10_7_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9 macOS 10.7+ x86-64

File details

Details for the file lana-0.1.8.tar.gz.

File metadata

  • Download URL: lana-0.1.8.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for lana-0.1.8.tar.gz
Algorithm Hash digest
SHA256 a548ebde6eb6a882b4711e433f05ca7969b32c123180b22b945d671252ba2ed7
MD5 93f48964b991565e1c4102d800930f7a
BLAKE2b-256 7a86fcd582ca41eb7fde1f623824840d25f87b585c012fca6fef7fdea3f3d1d6

See more details on using hashes here.

File details

Details for the file lana-0.1.8-cp311-none-win_amd64.whl.

File metadata

  • Download URL: lana-0.1.8-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 514.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for lana-0.1.8-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 11e96369805ba90e31d06fd638d90e771e5bd66d1be2afd70066969f36cad6be
MD5 1f9eb8d4ae3e2b6ad0b8ae2957cc6d68
BLAKE2b-256 f9f40dd8cc31f7109d56c0629212201280dd4210e998d2629feeb7e40f6ff19f

See more details on using hashes here.

File details

Details for the file lana-0.1.8-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for lana-0.1.8-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 2b80b36a20310d149c6a9594570c257698c8c6b4d06171fdb7648128b26534d1
MD5 a4a770c5d6a0c23470b5309bc3e23c4a
BLAKE2b-256 8a8a6af4d88615b2f81a32923d2bebc6c98c39f6d23b9479ea5b6480db399603

See more details on using hashes here.

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