Ignore:
Timestamp:
06/27/06 17:47:06 (18 years ago)
Author:
pinsard
Message:

add $ in Calendar, Grid, Interpolation, Obsolete and Postscript *.pro files, add svn:keywords Id to all these files, some improvements in header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Interpolation/spl_incr.html

    r111 r118  
    763763            </h4> 
    764764         
    765           <div class="comments">  An n-element (at least 2) input vector that specifies the 
    766     tabulate points in a strict ascending order. 
     765          <div class="comments">   
     766 An n-element (at least 2) input vector that specifies the tabulate points in  
     767 a strict ascending order. 
    767768</div> 
    768769             
     
    778779            </h4> 
    779780         
    780           <div class="comments">  The input values for which the interpolated values are 
    781     desired. Its values must be strictly monotonically increasing.  
    782  
    783  
    784  
     781          <div class="comments">   
     782 The input values for which the interpolated values are 
     783 desired. Its values must be strictly monotonically increasing.  
    785784</div> 
    786785             
     
    796795            </h4> 
    797796         
    798           <div class="comments">  f(x) = y. An n-element input vector that specifies the values 
     797          <div class="comments">   
     798 f(x) = y. An n-element input vector that specifies the values 
    799799    of the tabulated function F(Xi) corresponding to Xi. As f is 
    800800    supposed to be monotonically increasing, y values must be 
     
    839839            </h4> 
    840840         
    841           <div class="comments"></div> 
    842              
    843  
    844            
    845  
    846            
    847  
    848           <h3>Examples</h3><div class="value">  y2 =  spl_incr(x, y, x2) 
     841          <div class="comments">  
     842</div> 
     843             
     844 
     845           
     846 
     847           
     848 
     849          <h3>Examples</h3><div class="value"> 
     850 IDL>  y2 =  spl_incr(x, y, x2) 
    849851 
    850852  
    851853 
    852      n = 100L 
    853      x = (dindgen(n))^2 
    854      y = abs(randomn(0, n)) 
    855      y[n/2:n/2+1] = 0. 
    856      y[n-n/3] = 0. 
    857      y[n-n/6:n-n/6+5] = 0. 
    858      y = total(y, /cumulative, /double) 
    859      x2 = dindgen((n-1)^2) 
    860      n2 = n_elements(x2) 
    861      print, min(y[1:n-1]-y[0:n-2]) LT 0 
    862      y2 = spl_incr( x, y, x2) 
    863      splot, x, y, xstyle = 1, ystyle = 1, ysurx=.25, petit = [1, 2, 1], /land 
    864      oplot, x2, y2, color = 100 
    865      c = y2[1:n2-1] - y2[0:n2-2] 
    866      print, min(c) LT 0  
    867      print, min(c, max = ma), ma 
    868      splot,c,xstyle=1,ystyle=1, yrange=[-.01,.05], ysurx=.25, petit = [1, 2, 2], /noerase 
    869      oplot,[0, n_elements(c)], [0, 0], linestyle = 1 
     854 IDL> n = 100L 
     855 IDL> x = (dindgen(n))^2  
     856 IDL> y = abs(randomn(0, n)) 
     857 IDL> y[n/2:n/2+1] = 0. 
     858 IDL> y[n-n/3] = 0. 
     859 IDL> y[n-n/6:n-n/6+5] = 0. 
     860 IDL> y = total(y, /cumulative, /double) 
     861 IDL> x2 = dindgen((n-1)^2) 
     862 IDL> n2 = n_elements(x2) 
     863 IDL> print, min(y[1:n-1]-y[0:n-2]) LT 0 
     864 IDL> y2 = spl_incr( x, y, x2) 
     865 IDL> splot, x, y, xstyle = 1, ystyle = 1, ysurx=.25, petit = [1, 2, 1], /land 
     866 IDL> oplot, x2, y2, color = 100 
     867 IDL> c = y2[1:n2-1] - y2[0:n2-2] 
     868 IDL> print, min(c) LT 0  
     869 IDL> print, min(c, max = ma), ma 
     870 IDL> splot,c,xstyle=1,ystyle=1, yrange=[-.01,.05], ysurx=.25, petit = [1, 2, 2], /noerase 
     871 IDL> oplot,[0, n_elements(c)], [0, 0], linestyle = 1 
    870872</div> 
    871873          <h3>Version history</h3> 
    872874           
    873            
     875          <h4>Version</h4><div class="value"> $Id$ 
     876</div> 
    874877          <h4>History</h4><div class="value"> 
    875   Sebastien Masson (smasson@lodyc.jussieu.fr): May-Dec 2005</div> 
     878  Sebastien Masson (smasson@lodyc.jussieu.fr): May-Dec 2005 
     879</div> 
    876880           
    877881           
     
    914918             
    915919            <h4 id="_pure_convex_param_x1">x1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     920              <span class="attr">in</span> 
     921               
     922               
     923              <span class="attr">required</span> 
     924               
     925               
     926               
     927               
     928            </h4> 
     929         
     930          <div class="comments">   
     931 An n-element (at least 2) input vector that specifies the tabulate points in  
     932 a strict ascending order. 
     933</div> 
     934             
     935            <h4 id="_pure_convex_param_x2">x2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     936              <span class="attr">in</span> 
     937               
     938               
     939              <span class="attr">required</span> 
     940               
     941               
     942               
     943               
     944            </h4> 
     945         
     946          <div class="comments">   
     947 The input values for which the interpolated values are 
     948 desired. Its values must be strictly monotonically increasing.  
     949</div> 
     950             
     951            <h4 id="_pure_convex_param_y1">y1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     952              <span class="attr">in</span> 
     953               
     954               
     955              <span class="attr">required</span> 
     956               
     957               
     958               
     959               
     960            </h4> 
     961         
     962          <div class="comments">   
     963 f(x) = y. An n-element input vector that specifies the values 
     964    of the tabulated function F(Xi) corresponding to Xi. As f is 
     965    supposed to be monotonically increasing, y values must be 
     966    monotonically increasing. y can have equal consecutive values. 
     967</div> 
     968             
     969            <h4 id="_pure_convex_param_y2">y2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    916970               
    917971               
     
    926980          <div class="comments"></div> 
    927981             
    928             <h4 id="_pure_convex_param_x2">x2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     982            <h4 id="_pure_convex_param_der2">der2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    929983               
    930984               
     
    939993          <div class="comments"></div> 
    940994             
    941             <h4 id="_pure_convex_param_y1">y1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    942                
    943                
    944                
    945                
    946                
    947                
    948                
    949                
    950             </h4> 
    951          
    952           <div class="comments"></div> 
    953              
    954             <h4 id="_pure_convex_param_y2">y2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    955                
    956                
    957                
    958                
    959                
    960                
    961                
    962                
    963             </h4> 
    964          
    965           <div class="comments"></div> 
    966              
    967             <h4 id="_pure_convex_param_der2">der2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    968                
    969                
    970                
    971                
    972                
    973                
    974                
    975                
    976             </h4> 
    977          
    978           <div class="comments"></div> 
    979              
    980995            <h4 id="_pure_convex_param_x">x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    981996               
     
    9891004            </h4> 
    9901005         
    991           <div class="comments"></div> 
     1006          <div class="comments">  
     1007</div> 
    9921008             
    9931009 
Note: See TracChangeset for help on using the changeset viewer.