hybrid_phi
High-precision φ-based approximation and memory routing for signal processing, AI, and embedded systems.
hybrid_phi is a modular Rust library that provides accurate φ-based encoding, reversible approximation, quantized memory storage, routing, and exportable memory bundles.
✨ Features
- ✅ Reversible φ-based approximation with sub-ε precision
- ✅ Quantized signal memory with optional metadata
- ✅ Similarity-based routing
- ✅ Self-contained bundles (
.jsonimport/export) - ✅ CLI examples (
phi_app.rs) for encoding, routing, listing, and more - ✅ No-alloc friendly core, minimal dependencies
📦 Installation
In your Cargo.toml:
[]
= "1.0.0"
🔧 Basic Usage
use hybrid_phi_approximate;
let x = 123.456;
let approx = hybrid_phi_approximate;
For inverse:
use hybrid_phi_inverse;
let recovered = hybrid_phi_inverse;
🧠 Signal Memory + Routing
Store and route signals:
use PhiMemoryStore;
use phi_route;
let store = new;
store.save?;
let route = phi_route;
📤 Bundles and Export
use PhiBundle;
let bundle = from_store?;
bundle.save_json?;
let loaded = load_json?;
loaded.save_to_store?;
🚀 CLI Examples
Run from examples:
📚 Documentation
Autogenerated API docs:
cargo doc --open
📅 Version
Current: 1.0.0
Generated: 2025-05-05T00:02:30.184504 UTC
🔐 License
Licensed under MIT.
For commercial licensing, contact: info@paxintrade.com
© 2025 Idan Kaminer — Creator and maintainer