bugGNU Octave - Bugs: bug #44444, Integration of functions of...

 
 

bug #44444: Integration of functions of multiple variables does not work

Submitter:  None
Submitted:  Fri 06 Mar 2015 07:50:39 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  Bernd Schmutzler Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.2
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 07 Mar 2015 07:25:38 PM UTC, comment #1: 

Thanks for your bug report. This example works for me in Octave 3.8.2 and 4.0.0-rc1. Can you try the 4.0.0-rc1 release candidate and see if this problem still occurs?

Mike Miller <mtmiller>
Group Member
Fri 06 Mar 2015 07:50:39 AM UTC, original submission:  

I tried the code from the documentation (23.3 Functions of Multiple Variables):

function q = g(y)
  q = ones (size (y));
  for i = 1:length (y)
    f = @(x) sin (pi*x.*y(i)) .* sqrt (x.*y(i));
    q(i) = quadgk (f, 0, 1);
  endfor
endfunction

I = quadgk ("g", 0, 1)

(since I need an integral like Int exp( Int F(x,y) dx) dy)
I get no result but 100% CPU-load for a very long time.

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 rik5 (Updated the item)
  • -email is unavailable- added by mtmiller (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-20 rik5 Open/ClosedOpen Closed
    2015-03-07 mtmiller CategoryNone Octave Function
        Item GroupNone Incorrect Result
        StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code