bugGNU Octave - Bugs: bug #29983, Octave-Forge: Odd behavior of...

 
 

bug #29983: Octave-Forge: Odd behavior of expint with complex argument

Submitter:  None
Submitted:  Fri 28 May 2010 09:19:47 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Octave Forge Assigned to:  None
Originator Name:  GA Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.4
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 19 Apr 2016 07:25:41 PM UTC, comment #3: 

This can be closed: expint in core and expint(1+j*4) works.

Colin Macdonald <cbm>
Tue 15 Jun 2010 03:00:47 AM UTC, comment #2: 

This is an Octave Forge issue rather than an Octave issue.  The mailing list to report Octave Forge problems is octave-dev@lists.sourceforge.net.  They have been added to the CC list for this bug and it is being closed on the Octave bug tracker.

Rik <rik5>
Group administrator
Mon 31 May 2010 02:58:55 AM UTC, comment #1: 

expint is not an Octave core function.  It comes from the Octave-Forge package specfun.  You might have better luck checking the Octave-Forge bug reporting site.

Rik <rik5>
Group administrator
Fri 28 May 2010 09:19:47 PM UTC, original submission:  

When I call expint with real argument it works fine. However when I call it with complex arguments, the first and second time it gives error messages.  The third time it gives the correct answer. Is this a known bug?
The calls and the responses from OCTAVE 3.2.4 are listed below.
---------------------------------------------------
octave:3> expint(4)
ans =  0.0037794
octave:4> expint(1+j*4)
error: The argument must be real.
error: feval: function `print_usage' not found
error: called from:
error:   C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\specfun-1.0.8\expint.m at line 30, column 4
octave:5> expint(1+j*4)
error: The argument must be real.
error: feval: function `print_usage' not found
error: called from:
error:   C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\specfun-1.0.8\expint_E1.m at line 31, column 32
error:   C:\Octave\3.2.4_gcc-4.4.0\share\octave\packages\specfun-1.0.8\expint.m at line 30, column 4
octave:6> expint(1+j*4)
ans =  0.033736 + 0.073523i
---------------------------------

Anonymous

 

(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 cbm (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-15 rik5 Open/ClosedOpen Closed
    2010-05-31 rik5 StatusNone Octave Forge
        SummaryOdd behavior of expint with complex argument Octave-Forge: Odd behavior of expint with complex argument

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code