Ultra-lightweight spatial mathematics library with optimized negative number support
Project description
spatialmath
Lightweight spatial math library (NumPy only): 3D cube matrix conversion driven by spatial structure
An ultra-lightweight spatial math library with optimized negative number support. Ideal for edge computing, embedded systems, and educational use cases.
Core Features
- Extreme Performance: Core code is only 385 lines
- Minimal Dependencies: Only relies on NumPy (≥1.21.0)
- Optimized Negative Numbers: Optimized encoding logic with <5% extra overhead
- Production-Ready: Complete type hints and comprehensive unit tests
- Edge Computing Optimization: Manual cache management for memory-sensitive environments
- Version Compatibility: Supports Python 3.8+ (compatible with older Python versions)
Installation
From Source (Recommended)
git clone https://github.com/HhMaozy/spatialmath.git
cd spatialmath
# Import directly without additional installation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spatialmath_lite_hhmaozy-1.3.0.tar.gz.
File metadata
- Download URL: spatialmath_lite_hhmaozy-1.3.0.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fab51e282fccccbbbbccd52c0f9e912ebb8e136b4843edc8ec6c223c474c252
|
|
| MD5 |
e1998a38e400b5d56711dc7a5070abe7
|
|
| BLAKE2b-256 |
e38ae9409ef8b1b827ab257361ce85a329cdbf8b31ca7cd89be9340176b4fc05
|
File details
Details for the file spatialmath_lite_hhmaozy-1.3.0-py3-none-any.whl.
File metadata
- Download URL: spatialmath_lite_hhmaozy-1.3.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b30ed2211751871a54e25d0ab1227ff08bb2f67827a56f7bf8c820d64519d1e
|
|
| MD5 |
bb7b5e1c2acd7fc1ff263e4b99318963
|
|
| BLAKE2b-256 |
53eb5c40797f5c6fe224e96117436e176e3151d5f33da8df801394e6abade9c8
|