-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
LinearOperatorsFor issues relating to defining linear operators on AbstractDifferentialsFor issues relating to defining linear operators on AbstractDifferentialsgood first issueGood for newcomersGood for newcomers
Description
It would be handy to add something like the following overloads:
getindex(x::AbstractZero, i..) = x
view(x::AbstractZero, i...) = x
since a Zero
if interpreted as an array can only have Zero
subarrays or elements. This would make it so rules that depend only on certain elements of a differential don't necessarily have to special-case to work around possible Zero
arrays but can instead just index them as normal.
oxinabox
Metadata
Metadata
Assignees
Labels
LinearOperatorsFor issues relating to defining linear operators on AbstractDifferentialsFor issues relating to defining linear operators on AbstractDifferentialsgood first issueGood for newcomersGood for newcomers