Skip to content

Instantly share code, notes, and snippets.

View ddrous's full-sized avatar
🎯
Focusing

Roussel Desmond Nzoyem ddrous

🎯
Focusing
View GitHub Profile
"""A 1-dimensional example of adaptive mesh refinement in JAX. In this case, a simple
implementation of quadrature.
Static shapes don't mean you can't do this. Heap allocation is *not* necessary!
Not extensively tested; any bugs leave a comment below.
"""
import functools as ft
from collections.abc import Callable
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.