orthos
High-performance linear algebra library written in Rust with Python bindings.
Installation
Usage
# Create matrices
=
=
# Matrix operations
= @ # Matrix multiplication
= + # Addition
= # Transpose
= # Inverse
# Access elements
# 1.0
# (2, 2)
# NumPy interoperability
=
=
=
# Vectors
=
=
=
=
Features
- Matrix creation (zeros, ones, identity, from lists, from NumPy)
- Matrix arithmetic (add, subtract, multiply, scale)
- Matrix operations (transpose, inverse, determinant, trace)
- Vector operations (dot product, norm, normalize)
- Matrix-vector multiplication
- NumPy array interoperability
Development
# Create virtual environment
# Build and install in development mode
# Run tests
License
Apache-2.0