NLESC-JCER / cpp2wasm

Guide to make C++ available as a web application
https://nlesc-jcer.github.io/cpp2wasm/
Apache License 2.0
22 stars 6 forks source link

Make distinction between root finding algorithm and function clearer #29

Closed sverhoeven closed 4 years ago

sverhoeven commented 4 years ago

At the moment the x^3 - x^2 + 2 function and its derivative are hard to distinguish from the root finding algorithm. It would be nice if the function + derivative could be moved to their own code block So it is clearer we are trying to find the root of the x^3 - x^2 + 2 function with the Newton-Raphson algorithm.

sverhoeven commented 4 years ago

And rename func to equation and derivFunc to derivative.

fdiblen commented 4 years ago

also rename find to solve.