Skip to content

ENH: add mparray helper support - #475

Open
mdhaber wants to merge 1 commit into
data-apis:mainfrom
mdhaber:enh/mparray-support
Open

ENH: add mparray helper support#475
mdhaber wants to merge 1 commit into
data-apis:mainfrom
mdhaber:enh/mparray-support

Conversation

@mdhaber

@mdhaber mdhaber commented Sep 4, 2026

Copy link
Copy Markdown

MPArray is an array API compatible backend for arbitrary precision arithmetic using Python ints and mpmath floating point objects. This PR adds MPArray support patterned after the changes made for array API strict and JAX.

Since it's mostly mechanical, the commit was drafted by OpenAI Codex; I tried to tighten things up to minimize the diff.

Add mparray to backend detection, namespace discovery, device helpers, optional dependencies, CI, documentation, and shared tests. Treat it as a native CPU-only Array API backend.

This commit was prepared with assistance from OpenAI Codex.
@ev-br

ev-br commented Sep 4, 2026

Copy link
Copy Markdown
Member

CI errors are related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants