Blogs / Personal blogs

A Gentleman and a Scala

jliszka.github.io

Consider a population of rabbits and foxes. The number of rabbits and the number of foxes will range between 0 and 1, representing the percentage of some theoretical maximum population. Each generation, the number of rabbits and foxes changes according to a simple rule.

Popular posts
2
Total points
427
HN comments
228
Rank
#6,200 personal

Visit jliszka.github.io → RSS feedOn Hacker News Oct 2013 – Oct 2013

Math & Algorithms 2Society, Policy & Culture 1Software Engineering 1

1

Exact numeric nth derivatives

Automatic differentiation is a well-studied technique for computing exact numeric derivatives. Dan Piponi has a great introduction on the subject , but to give you an overview, the idea is that you introduce an algebraic symbol such that but . Formulas involving are called dual numbers (e.g., , ) in much the same way…