Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the monkeypatch thing to using with contexts? #29

Open
OriolAbril opened this issue Aug 6, 2022 · 0 comments
Open

Change the monkeypatch thing to using with contexts? #29

OriolAbril opened this issue Aug 6, 2022 · 0 comments

Comments

@OriolAbril
Copy link
Member

It would be nice to be able to do things like

with matrix_dims(["dim1", "dim3"]):
    chol = xe.linalg.cholesky(da)
    eig = xe.linalg.eig(da)

instead of having to use the monkeypatch trick (currently documented) or needing to pass the dimensions every time.

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

No branches or pull requests

1 participant