
autoload ("odekdi", "dldsolver.oct");

autoload ("odebda", "dldsolver.oct");

autoload ("odebdi", "dldsolver.oct");

autoload ("ode2r",  "dldsolver.oct");

autoload ("ode5r",  "dldsolver.oct");

autoload ("oders",  "dldsolver.oct");

autoload ("odesx",  "dldsolver.oct");
dirlist = {"inexact_solvers", "integrate_functions", "steppers", ...
           "string_compare", "utilities"};

dir = fileparts (mfilename ("fullpath"));

if (! exist (fullfile (dir, "inst"), "dir"))
  ## Run this if the package is installed
  for ii=1:length(dirlist)
    addpath (fullfile (dir, "..", dirlist{ii}))
  endfor
else
  ## Run this if we are testing the package without installation        
  for ii=1:numel (dirlist)
    addpath (fullfile (dir, "inst"))
    addpath (fullfile (dir, "inst", dirlist{ii}))
    addpath (fullfile (dir, "src"))
  endfor
endif

if (exist (fullfile ((__octave_config_info__).fcnfiledir, "ode", "private")) == 7)
  addpath (fullfile ((__octave_config_info__).fcnfiledir, "ode", "private"))
else
  error (["your version of octave does not seem to be ", ...
          "compatible with this version of odepkg"]);
endif

clear dirlist dir odeset_path private_path

autoload ("odekdi", "dldsolver.oct");

autoload ("odebda", "dldsolver.oct");

autoload ("odebdi", "dldsolver.oct");

autoload ("ode2r",  "dldsolver.oct");

autoload ("ode5r",  "dldsolver.oct");

autoload ("oders",  "dldsolver.oct");

autoload ("odesx",  "dldsolver.oct");
dirlist = {"inexact_solvers", "integrate_functions", "steppers", ...
           "string_compare", "utilities"};

dir = fileparts (mfilename ("fullpath"));

if (! exist (fullfile (dir, "inst"), "dir"))
  ## Run this if the package is installed
  for ii=1:length(dirlist)
    addpath (fullfile (dir, "..", dirlist{ii}))
  endfor
else
  ## Run this if we are testing the package without installation        
  for ii=1:numel (dirlist)
    addpath (fullfile (dir, "inst"))
    addpath (fullfile (dir, "inst", dirlist{ii}))
    addpath (fullfile (dir, "src"))
  endfor
endif

if (exist (fullfile ((__octave_config_info__).fcnfiledir, "ode", "private")) == 7)
  addpath (fullfile ((__octave_config_info__).fcnfiledir, "ode", "private"))
else
  error (["your version of octave does not seem to be ", ...
          "compatible with this version of odepkg"]);
endif

clear dirlist dir odeset_path private_path
