-
FFTW currently does not work with Dual numbers.
```
using FFTW, DualNumbers
duals = [Dual(1,1), Dual(2,2)]
fft(duals)
```
This code returns `ERROR: MethodError: no method matching plan_fft(::…
-
In `Zygote.jl`, we can take the gradient with respect to all fields of a struct `foo` passed through a function `bar` via
```julia
g = Zygote.gradient(f -> bar(f), foo)
```
Can this be done in…
-
edited:
'Magenta' is touched by red color and all numbers.
'Orange' is touched by red color and no numbers.
'Dark red' is touched by red color and normal numbers.
And that's all in fact.
So it …
-
I think it would be great to add [dual number](https://en.wikipedia.org/wiki/Dual_number) support to numpy. Dual numbers are numbers a + b ε where ε^2 = 0. These numbers have great utility in auto…
tBuLi updated
4 years ago
-
See my [gist](https://gist.github.com/jwscook/a8be5c11440981d6de2270a7bf633551) for what I'm trying to achieve.
I'm using NLsolve to find the cartesian coordinates given curvilinear coordinates and…
-
As it stands the following overloads seem to be problematic, and restrict the type to work only for real types:
```C++
template constexpr auto abs2(R&& r) { return std::forward(r) * std::forward(r);…
-
- we currently use [ForwardDiff](https://github.com/JuliaDiff/ForwardDiff.jl) but should be able to move transparently (= without any user code change) to another backend
- [x] use the backend choice…
-
Is it on purpose that values of complex or dual types are not shown? (But arrays of those element types are shown?)
MWE (v0.7):
```julia
using Parameters, DualNumbers
@with_kw struct Para
a =…
-
**Is your feature request related to a problem? Please describe.**
The problem is described here: https://discourse.julialang.org/t/how-to-use-scimloperators-jl-with-autograd-in-differentialequatio…
-
```julia
julia> using ForwardDiff, LabelledArrays
julia> SLVector(a=2.0,b=ForwardDiff.Dual(1,2))
2-element SLArray{Tuple{2},Real,1,2,(:a, :b)}:
2.0
Dual{Nothing}(1,2)
```