GPU-accelerated kernels for exotic / scientific math operators.
Project description
deln
GPU-accelerated kernels for exotic / scientific math — 174 operators across
34 domains (special functions, information theory, point processes, copulas,
Bayesian & GP methods, PDE solvers, computational geometry, materials, medical
imaging, and more), exposed as plain functions you call on torch tensors.
pip install deln
Quick start
import torch
import deln
deln.init("you@company.com") # REQUIRED once, before any algorithm
from deln.specfun import bessel_i0
x = torch.linspace(0.0, 3.0, 1024, device="cuda")
y = bessel_i0(x) # runs on the GPU, returns on x's device
If you call any algorithm before deln.init(...), it raises
deln.DelnNotInitializedError telling you to initialize first.
How it works
- Every algorithm is a function grouped under its domain submodule:
deln.specfun.bessel_i0,deln.quant-style domains,deln.pointproc.hawkes_log_likelihood,deln.medimg.radon_backprojection, … - Pass
torchtensors (CUDA or CPU); the result comes back on the same device as the inputs — no host round-trips. - Each function is documented (
help(bessel_i0)), with its parameters and the initialization requirement.
Discovering algorithms
import deln
deln.init("you@company.com")
deln.list_algorithms() # -> every available operator name
help(deln.specfun.bessel_i0) # -> docstring, params, notes
Domains
bayesian_inference, bayesmc, compgeo, control, copula, csense,
exactalg, funcanal, gametheory, geomproc, harmonics, hjb,
homotopy, infogeo, infotheory, interval, ksg, materials, medimg,
modred, npstats, numde, optimization, pointproc, prob_programming,
qmc, randla, riemann, seqbio, specfun, stats, tdavec,
tensordec, uq.
License
Apache-2.0.
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 deln-0.1.1.tar.gz.
File metadata
- Download URL: deln-0.1.1.tar.gz
- Upload date:
- Size: 104.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96e161cc7cb9c2af4144272b5b996c27730fec58c5564359ce8cf88907754d94
|
|
| MD5 |
3e0d8ab890be2915876f0f54943c3101
|
|
| BLAKE2b-256 |
e2a746ac358a7a16ec91e31877a37db7e948d6d98699049fcca42478947725f5
|
File details
Details for the file deln-0.1.1-py3-none-any.whl.
File metadata
- Download URL: deln-0.1.1-py3-none-any.whl
- Upload date:
- Size: 147.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77bbc27a520dde1930b986dea6db273d74ab4565abd6ad4aa21bfe71c1f43bf3
|
|
| MD5 |
b6a8e514542408c390d734cc5a26ea60
|
|
| BLAKE2b-256 |
a9a0aadde58ba9211ab1695f61334cf1d223e7cbf9999f041b700d503fc5ae93
|