% test_min_2 - Test that bfgs works % % Defines some simple functions and verifies that calling % % bfgs on them returns the correct minimum. % % Sets 'ok' to 1 if success, 0 otherwise