Skip to main content

Rust + PyO3 implementation of the Izzo Lambert solver

Project description

lambert_rs

Rust + PyO3 implementation of the Izzo Lambert solver.

Build & Install

pip install maturin
maturin develop --release

This produces a Python package lambert_rs.

Usage Example

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

lambert_rs-0.0.1-cp38-abi3-win_amd64.whl (317.9 kB view details)

Uploaded CPython 3.8+Windows x86-64

lambert_rs-0.0.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (448.9 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ x86-64

lambert_rs-0.0.1-cp38-abi3-macosx_11_0_arm64.whl (435.0 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

lambert_rs-0.0.1-cp38-abi3-macosx_10_12_x86_64.whl (446.8 kB view details)

Uploaded CPython 3.8+macOS 10.12+ x86-64

File details

Details for the file lambert_rs-0.0.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: lambert_rs-0.0.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 317.9 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lambert_rs-0.0.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e2a87b5927865a47eb251ff0dec7882ba69e9d05b412337cd78c0a8b56fbefc4
MD5 ed806bddcb0237806e223b0425109fcd
BLAKE2b-256 7e7c89d57be4fde55563a2a9ac32c7feae4e95021f4c0b04115dd78c7209d3f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambert_rs-0.0.1-cp38-abi3-win_amd64.whl:

Publisher: publish.yml on rengrub/lambert_rust

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lambert_rs-0.0.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lambert_rs-0.0.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c7719593fc5f1b88e547e6a7ccc84f22052eaf62981663b597559e13802ec19
MD5 4b12f1b5bd62e9614a20c1926643475b
BLAKE2b-256 ce3f014524ac7a4a1f62d3cc6f5eb72bc76ad21e1e4ebc420eb87189077d91f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambert_rs-0.0.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on rengrub/lambert_rust

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lambert_rs-0.0.1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lambert_rs-0.0.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 55eae5359a68835afc5ac66652fc465e9b972f1750e35cd305f19ee02af5f102
MD5 f3551dd0faafbf8bedb91bf33e80c805
BLAKE2b-256 7661b1ca5d4a083de719b08dfa811eb8275a67b4954ba3d4edd6f7b8258c542a

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambert_rs-0.0.1-cp38-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on rengrub/lambert_rust

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lambert_rs-0.0.1-cp38-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for lambert_rs-0.0.1-cp38-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6b2beb4486662dc6c18387974b9e861362b1c77cd402f4413a8d9a60e0565c29
MD5 502a14c9ecbe0a6282bc80ca92fde362
BLAKE2b-256 4aef924c3b753317d1008f54240459d75f71835aebb88a6db74dfca11290556f

See more details on using hashes here.

Provenance

The following attestation bundles were made for lambert_rs-0.0.1-cp38-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on rengrub/lambert_rust

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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