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

 
 

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

Submitted by:  None
Submitted on:  Fri 06 Mar 2015 07:50:39 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Bernd SchmutzlerOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.2
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project Administrator
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 (pix.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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Mar 2015 06:58:27 PM UTCrik5Open/ClosedOpen=>Closed
    Sat 07 Mar 2015 07:25:38 PM UTCmtmillerCategoryNone=>Octave Function
      Item GroupNone=>Incorrect Result
      StatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1