2 ms·
Basically, a dual number is a Real x Real while a codual number is Real x (Real -> Real). Let f(x) be dual-valued. Then its first component is the value
by ogogmad 5y ago
Basically, a dual number is a
Real x Real
while a codual number is
Real x (Real -> Real).
Let f(x) be dual-valued. Then its first component is the value of f(x), and the second component is its derivative f'(x).
Let f(x) instead be codual-valued. Then its first component is the value of f(x), and the second component is a function of k that outputs k * f'(x).
The above description of codual numbers as "Real x (Real -> Real)" is slightly wrong, but if you know about Jacobians and the chain rule for Jacobians, you should be able to fix it.