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

QUERY: Handling custom wrappers over complex data #236

Open
HaoZeke opened this issue Nov 3, 2023 · 0 comments
Open

QUERY: Handling custom wrappers over complex data #236

HaoZeke opened this issue Nov 3, 2023 · 0 comments

Comments

@HaoZeke
Copy link

HaoZeke commented Nov 3, 2023

As noted, since it isn't possible to inherit from std::complex (without errors), a common implementation hack is to wrap a member value. However, as written, though xtensor and xarray can use these wrappers, it seems there is no way to get the underlying data to be used when calling the routines here? e.g. potrf on the custom array should call .data() or something... Is this something which can be fixed easily / at all short of reworking to another library?

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