JuliaDiff / TaylorDiff.jl

Taylor-mode automatic differentiation for higher-order derivatives

Home Page:https://juliadiff.org/TaylorDiff.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow AbstractArray as inputs

avik-pal opened this issue · comments

@inline function derivative(f, x::Vector{T}, l::Vector{T},
requires the inputs to be vectors. I was testing this package with Lux, and if we allow specifying the inputs as component arrays (i.e. allow abstract vectors) then the packages trivially compose.

Oh yes there definitely should be AbstractArrays. I was over specializing things. Will fix