Skip to content

Increasing the flexibility of DataGrid #197

Description

@brainandforce

Currently, DataGrid{D,B<:LatticeBasis,S<:AbstractVector{<:Real},T} wraps an Array{T,D} and provides some extra data regarding the basis vectors, shift of the data off of the origin, etc. However, the design may be limiting: what if a user wants to wrap a custom array type such as CuArray from CUDA.jl?

Additionally, it might be useful to construct a view of a DataGrid that preserves the indices associated with the view.

All proposed changes here would be breaking and would require a 0.2.0 release.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis would be a breaking change

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions