|
| From: | Doug Stewart |
| Subject: | [Octave-bug-tracker] [bug #46230] Interval error: 'mpfr_function_d' undefined |
| Date: | Fri, 16 Oct 2015 21:47:20 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?46230>
Summary: Interval error: 'mpfr_function_d' undefined
Project: GNU Octave
Submitted by: dastew
Submitted on: Fri 16 Oct 2015 21:47:18 GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name: Doug Stewart
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
This code was working and now gives an error.
% this is just a formula to start with
% have fun and change it if you want to.
f=@(x) x.^2 +3*x-1 + 5*x.*sin(x);
% the next 2 line take the Anonymous function into a symbolic formula
syms x;
ff=formula(f(x));
% now calculate the derivative of the function
ffd=diff(ff);
% and convert it back to an Anonymous function
df=function_handle(ffd)
fzero (f, infsup (-15, 10), df)
gives the following results
error: 'mpfr_function_d' undefined near line 56 column 5
error: called from
mid at line 56 column 3
fzero>findroots at line 139 column 7
fzero at line 126 column 6
ttt554 at line 14 column 1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46230>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |