bugGNU Octave - Bugs: bug #57141, fzero should warn when objective...

 
 

bug #57141: fzero should warn when objective function produces complex value on interval endpoints

Submitted by:  Rik <rik5>
Submitted on:  Tue 29 Oct 2019 09:50:23 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 29 Oct 2019 09:50:23 PM UTC, original submission:  

Code to reproduce in Octave:

fzero (@(x) 0.5*x + 2*i*x - 5, [-20, 100])
error: fzero: not a valid initial bracketing
error: called from
    fzero at line 223 column 5

However, in Matlab, this example throws a warning that the function must be finite and real at the endpoints.  This is a more relevant message.

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-29 rik5 Summaryfzero should warn when objective function produces complex value => fzero should warn when objective function produces complex value on interval endpoints

    Back to the top


    Powered by Savane 3.5