Metadata-Version: 2.4
Name: lambert-rs
Version: 0.5.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Physics
Summary: Rust + PyO3 implementation of the Izzo Lambert solver
Keywords: lambert,orbital-mechanics,astrodynamics,rust
Author-email: Your Name <your.email@example.com>
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/yourusername/lambert_rust
Project-URL: Repository, https://github.com/yourusername/lambert_rust
Project-URL: Documentation, https://github.com/yourusername/lambert_rust#readme

# lambert_rs

Rust + PyO3 implementation of the Izzo Lambert solver.

## Build & Install

```bash
pip install maturin
maturin develop --release
```

This produces a Python package `lambert_rs`.  

## Usage Example

```python
import numpy as np
import lambert_rs

r1 = np.array([[7000., 0., 0.]])
r2 = np.array([[0., -8000., 0.]])
dt = np.array([3600.])

v1_list, v2_list = lambert_rs.lambert_izzo(r1, r2, dt,
                                           mu=398600.4418,
                                           tol=1e-8,
                                           maxiter=20)

v1, v2 = v1_list[0], v2_list[0]
print("v1:", v1, "\nv2:", v2)
```

