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

npyio: provide an Array[T] #17

Open
sbinet opened this issue Feb 5, 2022 · 0 comments
Open

npyio: provide an Array[T] #17

sbinet opened this issue Feb 5, 2022 · 0 comments

Comments

@sbinet
Copy link
Owner

sbinet commented Feb 5, 2022

with type parameters around the corner (Go-1.18), it should be possible to implement an n-dim array that exposes interesting properties of NumPY n-dim arrays.

type Array[T any] struct {
    hdr  Descr
    data []T
}
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