Mercurial > repos > public > sbplib_julia
diff src/Grids/grid.jl @ 1516:8d64f8981bb0 feature/grids/componentview
Remove comments and add todo
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 21 Mar 2024 07:42:19 +0100 |
parents | 6309ca375dcd |
children | 7ee7df7d9b61 |
line wrap: on
line diff
--- a/src/Grids/grid.jl Wed Mar 20 16:17:53 2024 +0100 +++ b/src/Grids/grid.jl Thu Mar 21 07:42:19 2024 +0100 @@ -67,20 +67,7 @@ # changing the return tyoe to a 0-dimensional array. That's where i gave up.) IndexStyle(::Type{<:ArrayComponentView{<:Any,<:Any,AT}}) where AT = IndexStyle(AT) -# TODO: Implement the remaining optional methods from the array interface -# setindex!(A, v, i::Int) -# setindex!(A, v, I::Vararg{Int, N}) -# iterate -# length(A) -# similar(A) -# similar(A, ::Type{S}) -# similar(A, dims::Dims) -# similar(A, ::Type{S}, dims::Dims) -# # Non-traditional indices -# axes(A) -# similar(A, ::Type{S}, inds) -# similar(T::Union{Type,Function}, inds) - +# TODO: Implement setindex!? # TODO: Implement a more general ComponentView that can handle non-AbstractArrays. """