Changeset 4457

Show
Ignore:
Timestamp:
08/30/08 10:22:29 (4 months ago)
Author:
pmoura
Message:

Minor documentation improvements.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/examples/threads/integration2d/integration2d.lgt

    r4455 r4457  
    125125        date is 2008/08/30, 
    126126        comment is 'Multi-threading implementation of Recursive Gaussian Quadrature Methods for Numerical Integration for functions of two real variables.', 
    127         parameters is ['Threads'- 'Number of threads to use.']]). 
     127        parameters is ['Threads'- 'Number of threads to use (1, 4, 9, 16, 25, ...).']]). 
    128128 
    129129    integrate(Function, A, B, C, D, NP, Epsilon, Integral) :- 
     
    144144        ). 
    145145 
    146     % split an interval into a list of intervals. -- doing a 1-dimensional split 
     146    % split an interval into a list of intervals 
    147147    split(Inf, Sup, N, Intervals):- 
    148148        Width is (Sup - Inf) / N, 
     
    167167        spawn(CDIntervals, Left, Right, Function, NP, Epsilon, [start(Function,Left,Right,Bottom,Top,NP,Epsilon,SubVolume)| Acc], Goals). 
    168168 
    169     % wait for the threads to finish and then we will collect the results summing as we go 
     169    % wait for the threads to finish and then collect the results summing as we go 
    170170    collect([], Integral, Integral). 
    171171    collect([start(Function,Left,Right,Bottom,Top,NP,Epsilon,SubVolume)| Goals], Acc, Integral) :- 
     
    202202        ). 
    203203 
    204     quadrature(Function, A,B,C,D, Volume, NP, Epsilon, Integral) :-  
     204    quadrature(Function, A, B, C, D, Volume, NP, Epsilon, Integral) :-   
    205205        MiddleX is 0.5*(A+B), 
    206206        MiddleY is 0.5*(C+D), 
  • trunk/RELEASE_NOTES.txt

    r4456 r4457  
    1414 
    1515 
    16 2.33.0 - September ??, 2008 
     162.33.0 - September 1, 2008 
    1717 
    1818    Applied several optimizations to the Logtalk compiler, mostly related to