Skip to main content

A Code for Memory-Saving Dyadic Adaptivity in Optimization and Simulation

Project description

DyAda: A Code for Dyadic Adaptivity in Optimization, Simulation, and Machine Learning

Python package CI Coverage License: GPL v3

Dyadic Adaptivity

Dyadic adaptivity means: A given hypercube of 2 or more dimensions may or may not be subdivided into two parts in any number of dimensions. Of the resulting sub-boxes, each may again be subdivided into two in any dimension, and so forth.

Why Dyadic Adaptivity?

Currently, the most common approach to adaptivity are octrees, which are a special type of dyadic adaptivity: Each box is either refined in every dimension or not at all. For a three-d domain, the tree and the resulting partitioning could look like this:

The octree tree

The octree partitioning

But maybe you didn't need all this resolution?

Maybe, in the finely-resolved areas, you only needed only some of the dimensions resolved finely:

The dyadic partitioning

This is what DyAda provides.

The tree will then look like this:

The omnitree tree

And you will only have to use 14 degrees of freedom instead of 29! This reduction will be even stronger if you go to higher dimensions.

Contributing

Feel free to request features or voice your intent to work on/with DyAda as an issue. Depending on what you are looking for, exciting features may be in preparation, or they may just be waiting for you to implement them!

Project details


Download files

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

Source Distribution

dyada-0.0.2.tar.gz (80.8 kB view details)

Uploaded Source

Built Distribution

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

dyada-0.0.2-py3-none-any.whl (30.8 kB view details)

Uploaded Python 3

File details

Details for the file dyada-0.0.2.tar.gz.

File metadata

  • Download URL: dyada-0.0.2.tar.gz
  • Upload date:
  • Size: 80.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for dyada-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a801fb7491ba3c71771e218c1cb49bba7ecdc6d04de90d7b585cc4cb8f17ab9b
MD5 8a56819dace747aa12ad4ab9cf5df1f3
BLAKE2b-256 4b0ca19abfc04ca793b89e96deb83ba00fa6152812229102c63848f550fa1221

See more details on using hashes here.

Provenance

The following attestation bundles were made for dyada-0.0.2.tar.gz:

Publisher: publish-to-pypi.yml on freifrauvonbleifrei/DyAda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dyada-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dyada-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 30.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for dyada-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2eca5a07e4d52278231cfd7ebe2c8b816e70d5946843b76dd7a84f1ff387cb1b
MD5 9af230a0561c852c8bf3ad4e0cbfa627
BLAKE2b-256 440a641281a4e008729aa937d17cbf063e5a9ebebf373fabb77b4073b85d97c2

See more details on using hashes here.

Provenance

The following attestation bundles were made for dyada-0.0.2-py3-none-any.whl:

Publisher: publish-to-pypi.yml on freifrauvonbleifrei/DyAda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page