The Maxwell School
Syracuse University
Syracuse University
newton.ox
is a basic implementation of Newton's method in the Ox programming language. The file test.ox
is an example showing how it is used. The algorithm checks for numerical errors, such as dividing by zero, that result in NaNs (not a number). To see what happens when a NaN occurs, run the program test-nan.ox
.
market.ox | Small multi-agent model of a single market |
market.out | Output from running oxl on market.ox |
test-nan.ox | Defective version of market.ox illustrating handling of NaNs. |
test-nan.out | Output from test-nan.ox |