Which non-StridedArrays need to be supported?
The non-strided version is not covered by any docs.
|
#= |
|
Optimized implementations for StridedArrays. |
|
Essentially, the only difference between these and the AbstractArray case |
|
is that here we can compute the epsilon one by one in local variables and avoid caching it. |
|
=# |
|
function finite_difference_derivative!( |
|
df::StridedArray, |
|
function finite_difference_derivative!( |
|
df, |
Which non-StridedArrays need to be supported?
The non-strided version is not covered by any docs.
FiniteDiff.jl/src/derivatives.jl
Lines 133 to 139 in 362180d
FiniteDiff.jl/src/derivatives.jl
Lines 103 to 104 in 362180d