Seol mar théacs é seo: Algorithms for monotonic functions /