Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would an undergrad-level algorithm be faster here?

1. Find the derivative, and use an analytic formula for the roots of a quartic equation.

2. Then evaluate the value at the zeros to look for the intervals that cross the [0,1] segment.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: