[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54729] odeset: 'AbsTol' must be a column-vect
From: |
Kai Torben Ohlhus |
Subject: |
[Octave-bug-tracker] [bug #54729] odeset: 'AbsTol' must be a column-vector |
Date: |
Tue, 25 Sep 2018 17:23:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 |
Follow-up Comment #2, bug #54729 (project octave):
In Matlab
- 'RelTol' must be a positive scalar only and throws errors otherwise, and
- 'AbsTol' must be a positive scalar or vector and throws errors otherwise,
thus
[1e-12 1e-12] or [1e-12; 1e-12] are allowed and preserved for odeset/odeget.
In both Matlab R2018a and Octave 4.4.1 we have:
>> options = odeset ('AbsTol', [1e-12 1e-12]); odeget (options, 'AbsTol')
ans =
1.0e-12 *
1.000000000000000 1.000000000000000
>> options = odeset ('AbsTol', [1e-12; 1e-12]); odeget (options, 'AbsTol')
ans =
1.0e-12 *
1.000000000000000
1.000000000000000
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54729>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/