JuliaDiff / DualNumbers.jl

Julia package for representing dual numbers and for performing dual algebra
Other
80 stars 30 forks source link

zeta function have no method with Dual type? #21

Closed afternone closed 9 years ago

afternone commented 9 years ago
x = dual(2, 1)
y = zeta(x)

will have a error: 'zeta' has no method matching zeta(::Dual{Int64})

mlubin commented 9 years ago

If you add the derivative rule here, it will "just work" with dual numbers. PRs accepted. Looks like zeta was mentioned in a comment a while ago.

afternone commented 9 years ago

Many thanks!