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

Deprecate bzeros in favour of zeros(BandedMartrix,(n,m),(l,u)) a la GPUArrays.jl #42

Closed
dlfivefifty opened this issue Nov 19, 2017 · 1 comment

Comments

@dlfivefifty
Copy link
Member

Ideally this would be in Base, but GPUArrays.jl has started usage like

zeros(CLArray{Float32},(n,m))

for making a CLArray{Float32} that is n x m. Semantically I'm skeptical that this is the right choice (I prefer zero(CLArray{Float32},(n,m))), but I suppose we should follow the already established pattern and introduce:

zeros(BandedMatrix{Float64},(n,m),(l,u))
@dlfivefifty
Copy link
Member Author

The plan is now to use FillArrays.jl, in which case it becomes:

BandedMatrix(Zeros{Float64}(n,m), (l,u))

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