Mercurial > octave
changeset 22642:18dd44e56815 stable
Remove property "MassConstant" from ode solvers.
* odeset.m: Remove property from do,string, remove from defaults, remove from
print_options.
* odedefaults.m: Remove property name from variables defaults, classes,
attributes.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 19 Oct 2016 08:49:47 -0700 |
parents | c28648e039da |
children | fb8b23754d76 |
files | scripts/ode/odeset.m scripts/ode/private/odedefaults.m |
diffstat | 2 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ode/odeset.m Wed Oct 19 08:34:53 2016 -0700 +++ b/scripts/ode/odeset.m Wed Oct 19 08:49:47 2016 -0700 @@ -87,10 +87,6 @@ ## Mass matrix, specified as a constant matrix or a function of ## time and state. ## -## @item MassConstant -## Specify whether the mass matrix is a constant matrix or depends on -## the state. -## ## @item MassSingular ## Specify whether the mass matrix is singular. Accepted values include ## @qcode{"yes"}, @qcode{"no"}, @qcode{"maybe"}. @@ -165,8 +161,6 @@ p.addParameter ("JConstant", []); p.addParameter ("JPattern", []); p.addParameter ("Mass", []); - ## FIXME: MassConstant does not appear in Matlab documentation for odeset - p.addParameter ("MassConstant", []); p.addParameter ("MassSingular", []); p.addParameter ("MaxOrder", []); p.addParameter ("MaxStep", []); @@ -220,7 +214,6 @@ disp (' JConstant: binary, {["off"], "on"}'); disp (' JPattern: sparse matrix, []'); disp (' Mass: matrix or function_handle, []'); - disp (' MassConstant: binary, {["off"], "on"}'); disp (' MassSingular: switch, {["maybe"], "no", "yes"}'); disp (' MaxOrder: switch, {[5], 1, 2, 3, 4, }'); disp (' MaxStep: scalar, >0, []');
--- a/scripts/ode/private/odedefaults.m Wed Oct 19 08:34:53 2016 -0700 +++ b/scripts/ode/private/odedefaults.m Wed Oct 19 08:49:47 2016 -0700 @@ -33,7 +33,6 @@ "JConstant", "off", "JPattern", [], "Mass", [], - "MassConstant", "off", "MassSingular", "maybe", "MaxOrder", 5, "MaxStep", 0.1 * abs (t0-tf), @@ -59,7 +58,6 @@ "JConstant", "char", "JPattern", {{"float"}}, "Mass", {{"float", "function_handle"}}, - "MassConstant", "char", "MassSingular", "char", "MaxOrder", {{"float"}}, "MaxStep", {{"float"}}, @@ -83,7 +81,6 @@ "JConstant", {{"on", "off"}}, "JPattern", {{"vector"}}, "Mass", {{}}, - "MassConstant", {{"on", "off"}}, "MassSingular", {{"no", "maybe", "yes"}}, "MaxOrder", {{">=", 0, "<=", 5, "integer"}}, "MaxStep", {{"positive", "scalar", "real"}},