Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
scala> val df = Scalac.derivative(x => 2*(2 * Math.pow(x, 2) + 3 * x) + (-5))
df: Double => Double = <function1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment