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.2.tar.gz (104.7 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.2-py3-none-any.whl (148.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deln-0.1.2.tar.gz
  • Upload date:
  • Size: 104.7 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.2.tar.gz
Algorithm Hash digest
SHA256 dfadb7e8a52b0d258732098e6fb559093cb11a2c4e6a60ddf581a3680fdd13e6
MD5 c0048ca6499ed7d72e90dd11d89af90c
BLAKE2b-256 568044cbc191e5caba8c63fb9e8b79f793d8a43c6bfbf0c404d2d407bf715e3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deln-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 148.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8de08482425b1e7714ac8f59a7947b287886d1345fc44432b7859ac9a6deb91b
MD5 86be3c60040a96581e32492a1f287a33
BLAKE2b-256 3d36ab4f3b5c972d0c5187bf93cdf9610eeb517436f4a8eef1f36031adb32780

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.3

2 files

This release

0.1.2 This release

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