RDT Kernel
RDT Kernel is a physics-inspired numerical simulator implementing a nonlinear partial differential equation (PDE) for a scalar field L(x, y, t). It combines a logarithmic damping term with a Laplacian diffusion term, forming a compact PyTorch-based solver for recursive field dynamics, entropy stabilization, and nonlinear diffusion behavior.
This implementation uses PyTorch tensor operations, automatically runs on CPU or GPU (and TPU if available), and can function as a standalone simulator or a physics-based component within other systems.
Mathematical Model
The kernel evolves the field according to: ∂L/∂t = -α·ln(L) + D·∇²L
where:
- L(x, y, t): scalar field
- α: nonlinear damping coefficient
- D: diffusion constant
- ∇²L: discrete Laplacian
The equation models a nonlinear parabolic PDE coupling the field’s magnitude to its potential energy, creating self-stabilizing diffusion and entropy-bounded evolution.
Core Functions
- get_device(): Detects CPU, GPU, or TPU
- rdt_kernel(): Computes ∂L/∂t
- step(): Advances one Euler step with clamping
- run_demo(): Runs a full test simulation with timing and mean-field output
Installation
From PyPI: pip install rdt-kernel
From source: git clone https://github.com/RRG314/rdt-kernel.git cd rdt-kernel pip install .
Example
from rdt_kernel import run_demo run_demo(n=128, steps=100, alpha=0.5, D=0.1, dx=1.0, dt=0.01)
Example output: Running 100 steps on GPU... Done in 0.029s, mean=1.003536
Applications
- Nonlinear entropy and diffusion modeling
- Energy field evolution in dissipative media
- Recursive geometric and entropic systems
- Physics-inspired machine learning research
Author
Developed by Steven Reid (Independent Researcher) Repository: https://github.com/RRG314/rdt-kernel
Metadata
Release files for rdt-kernel 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rdt_kernel-1.0.6.tar.gz | 3.7 kB | Without provenance | Details for rdt_kernel-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rdt_kernel-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for rdt_kernel-1.0.6-py3-none-any.whl |
Total release size: 7.5 kB
Release files / rdt_kernel-1.0.6.tar.gz
| Download URL | rdt_kernel-1.0.6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d30eb1c09cdf2bf478dffe4dce4d9a3ce8da29f6dbc1ca8b641ca5e3fb59444d
|
|
BLAKE2b-256 checksum How to use checksums |
3f697399def5df1005672effba62e7ddc7c041543ec9052fae349800b269304a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / rdt_kernel-1.0.6-py3-none-any.whl
| Download URL | rdt_kernel-1.0.6-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
841f34b81c42a57115b93bec713e1f0698a1e184fdbed262ae3f61daeb6054a1
|
|
BLAKE2b-256 checksum How to use checksums |
ec6fb01639e78f69d0551dd344dc36b601216bc9a8478388ca4068f6b2e02ef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for rdt-kernel 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.