view scripts/ode/module.mk @ 20620: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
line wrap: on
line source

FCN_FILE_DIRS += \
  scripts/ode \
  scripts/ode/private

scripts_ode_PRIVATE_FCN_FILES = \
  scripts/ode/private/AbsRel_Norm.m \
  scripts/ode/private/integrate_adaptive.m \
  scripts/ode/private/integrate_const.m \
  scripts/ode/private/integrate_n_steps.m \
  scripts/ode/private/kahan.m \
  scripts/ode/private/odepkg_event_handle.m \
  scripts/ode/private/odepkg_structure_check.m \
  scripts/ode/private/ode_rk_interpolate.m \
  scripts/ode/private/ode_struct_value_check.m \
  scripts/ode/private/runge_kutta_45_dorpri.m \
  scripts/ode/private/starting_stepsize.m

scripts_ode_FCN_FILES = \
  scripts/ode/ode45.m \
  scripts/ode/odeset.m \
  scripts/ode/odeget.m

scripts_odedir = $(fcnfiledir)/ode

scripts_ode_DATA = $(scripts_ode_FCN_FILES)

scripts_ode_privatedir = $(fcnfiledir)/ode/private

scripts_ode_private_DATA = $(scripts_ode_PRIVATE_FCN_FILES)

FCN_FILES += \
  $(scripts_ode_FCN_FILES) \
  $(scripts_ode_PRIVATE_FCN_FILES)

PKG_ADD_FILES += scripts/ode/PKG_ADD

DIRSTAMP_FILES += scripts/ode/$(octave_dirstamp)