Mercurial > hg > octave-nkf
comparison scripts/ode/module.mk @ 20796:e5f36a7854a5
Remove fuzzy matching from odeset/odeget.
* levenshtein.cc: Deleted file.
* libinterp/corefcn/module.mk: Remove levenshtein.cc from build system.
* fuzzy_compare.m: Deleted file.
* scripts/ode/module.mk: Remove fuzzy_compare.m from build system
* odeget.m: Reword docstring. Use a persistent cellstr variable to keep track
of all options. Replace fuzzy_compare() calls with combination of strcmpi and
strncmpi. Report errors relative to function odeget rather than OdePkg.
Rewrite and extend BIST tests. Add input validation BIST tests.
* odeset.m: Reword docstring. Use a persistent cellstr variable to keep track
of all options. Replace fuzzy_compare() calls with combination of strcmpi and
strncmpi. Report errors relative to function odeset rather than OdePkg.
Use more meaningful variables names and create intermediate variables with
logical names to help make code readable. Remove interactive input when
multiple property names match and just issue an error. Rewrite BIST tests.
* ode_struct_value_check.m: Remove input checking for private function which
must always be invoked correctly by caller. Use intermediate variables opt and
val to make the code more understandable. Consolidate checks on values into
single if statements. Use 'val == fix (val)' to check for integer.
* __unimplemented__.m: Removed odeset, odeget, ode45 from list.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 09 Oct 2015 12:03:23 -0700 |
parents | 87b557ee8e5d |
children |
comparison
equal
deleted
inserted
replaced
20795:eef93a493ce3 | 20796:e5f36a7854a5 |
---|---|
2 scripts/ode \ | 2 scripts/ode \ |
3 scripts/ode/private | 3 scripts/ode/private |
4 | 4 |
5 scripts_ode_PRIVATE_FCN_FILES = \ | 5 scripts_ode_PRIVATE_FCN_FILES = \ |
6 scripts/ode/private/AbsRel_Norm.m \ | 6 scripts/ode/private/AbsRel_Norm.m \ |
7 scripts/ode/private/fuzzy_compare.m \ | |
8 scripts/ode/private/integrate_adaptive.m \ | 7 scripts/ode/private/integrate_adaptive.m \ |
9 scripts/ode/private/integrate_const.m \ | 8 scripts/ode/private/integrate_const.m \ |
10 scripts/ode/private/integrate_n_steps.m \ | 9 scripts/ode/private/integrate_n_steps.m \ |
11 scripts/ode/private/kahan.m \ | 10 scripts/ode/private/kahan.m \ |
12 scripts/ode/private/odepkg_event_handle.m \ | 11 scripts/ode/private/odepkg_event_handle.m \ |