Skip to main content

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 torch tensors (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.

Download files

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

Source Distribution

deln-0.1.3.tar.gz (104.4 kB view details)

Uploaded Source

Built Distribution

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

deln-0.1.3-py3-none-any.whl (147.9 kB view details)

Uploaded Python 3

File details

Details for the file deln-0.1.3.tar.gz.

File metadata

  • Download URL: deln-0.1.3.tar.gz
  • Upload date:
  • Size: 104.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for deln-0.1.3.tar.gz
Algorithm Hash digest
SHA256 17dca935cc646b67dcfdb3f6b6107c37d1bf0d66c493bdc06851d706b9354b32
MD5 9d30d145aa72e09c798bbc9e4054af6f
BLAKE2b-256 8a900bf604f0dedd20ffd189d3281d3536e711231b11ed5bc1edc5ebabcdbf23

See more details on using hashes here.

File details

Details for the file deln-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: deln-0.1.3-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

Hashes for deln-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ac050d6c7061f7927a6a949b3531de3512fc99eafbc7f988a95f9aef7af53631
MD5 cf59f3cfb37793f482cdfdc2af83623a
BLAKE2b-256 bc1472c7a76605b3cd05302ab80751e33b3a694ef438eda3060bdbdbbca442ce

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page