Changeset 32

Show
Ignore:
Timestamp:
07/08/07 00:22:58 (1 year ago)
Author:
JoeCoder
Message:

Too much to name

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doc/api/index.html

    r31 r32  
    100100        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    101101        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    102         on Sat May 26 23:07:47 2007 
     102        on Sun Jul  8 00:19:32 2007 
    103103 
    104104    </div> 
     
    196196 
    197197    explorer.packageExplorer.addModule("yage.system.render"); 
    198  
    199     explorer.packageExplorer.addModule("yage.universe"); 
    200198 
    201199    explorer.packageExplorer.addModule("yage.util.all"); 
  • trunk/doc/api/yage.all.html

    r31 r32  
    110110        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    111111        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    112         on Sat May 26 23:07:47 2007 
     112        on Sun Jul  8 00:19:32 2007 
    113113 
    114114    </div> 
     
    206206 
    207207    explorer.packageExplorer.addModule("yage.system.render"); 
    208  
    209     explorer.packageExplorer.addModule("yage.universe"); 
    210208 
    211209    explorer.packageExplorer.addModule("yage.util.all"); 
  • trunk/doc/api/yage.core.all.html

    r31 r32  
    9090 
    9191 The core package is somewhat of a standard library for Yage.  It includes 
    92  3D math classes, templated storage classes, and other miscellanous 
     92 3D math classes, array handling functions, xml parsing, and other miscellanous 
    9393 functionality.  It has no external dependencies. 
    94 <br><br> 
    95  
    96  Note that the core package carries the zlib/libpng license while every other 
    97  package is under the LGPL. 
    9894  
    9995<br><br> 
     
    115111        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    116112        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    117         on Sat May 26 23:07:47 2007 
     113        on Sun Jul  8 00:19:33 2007 
    118114 
    119115    </div> 
     
    211207 
    212208    explorer.packageExplorer.addModule("yage.system.render"); 
    213  
    214     explorer.packageExplorer.addModule("yage.universe"); 
    215209 
    216210    explorer.packageExplorer.addModule("yage.util.all"); 
  • trunk/doc/api/yage.core.array.html

    r31 r32  
    107107<span class="currsymbol">remove</span> 
    108108<script type="text/javascript">explorer.outline.addDecl('remove');</script> 
    109 (T)(inout T[] <span class="funcparam">array</span>, int <span class="funcparam">index</span>, bool <span class="funcparam">ordered</span> = true); 
     109(T)(ref T[] <span class="funcparam">array</span>, int <span class="funcparam">index</span>, bool <span class="funcparam">ordered</span> = true); 
    110110</span></dt> 
    111111<script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
     
    142142<span class="currsymbol">reserve</span> 
    143143<script type="text/javascript">explorer.outline.addDecl('reserve');</script> 
    144 (T)(inout T[] <span class="funcparam">array</span>, int <span class="funcparam">length</span>); 
     144(T)(ref T[] <span class="funcparam">array</span>, int <span class="funcparam">length</span>); 
    145145</span></dt> 
    146146<script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
     
    153153 
    154154                
    155 <td></td></tr> 
     155<td>The array in which to  
     156<span class="currsymbol">reserve</span> 
     157<script type="text/javascript">explorer.outline.addDecl('reserve');</script> 
     158 space.</td></tr> 
    156159<tr> 
    157160<td nowrap valign="top" style="padding-right: 8px">length</td> 
    158161 
    159162                
    160 <td></td></tr> 
     163<td>The array will  
     164<span class="currsymbol">reserve</span> 
     165<script type="text/javascript">explorer.outline.addDecl('reserve');</script> 
     166 enough space to hold this many total elements. </td></tr> 
    161167</table><br> 
    162168 
     
    165171<script type="text/javascript">explorer.outline.writeEnabled = true;</script> 
    166172<dt><span class="decl">void  
    167 <span class="currsymbol">sort</span> 
    168 <script type="text/javascript">explorer.outline.addDecl('sort');</script> 
    169 (T)(inout T[] <span class="funcparam">array</span>); 
     173<span class="currsymbol">radixSort</span> 
     174<script type="text/javascript">explorer.outline.addDecl('radixSort');</script> 
     175(T)(ref T[] <span class="funcparam">array</span>); 
    170176<br>void  
    171177<span class="currsymbol"> 
    172 <span class="currsymbol">sort</span> 
    173 <script type="text/javascript">explorer.outline.addDecl('sort');</script> 
     178<span class="currsymbol">radixSort</span> 
     179<script type="text/javascript">explorer.outline.addDecl('radixSort');</script> 
    174180</span> 
    175181<script type="text/javascript">explorer.outline.addDecl(' 
    176 <span class="currsymbol">sort</span> 
    177 <script type="text/javascript">explorer.outline.addDecl('sort');</script> 
     182<span class="currsymbol">radixSort</span> 
     183<script type="text/javascript">explorer.outline.addDecl('radixSort');</script> 
    178184');</script> 
    179 (T,K)(inout T[] <span class="funcparam"><span class="funcparam">array</span></span>, K delegate(T elem) <span class="funcparam"><span class="funcparam">getKey</span></span>, bool <span class="funcparam"><span class="funcparam">signed</span></span> = true); 
     185(T,K)(ref T[] <span class="funcparam"><span class="funcparam">array</span></span>, K delegate(T elem) <span class="funcparam"><span class="funcparam">getKey</span></span>, bool <span class="funcparam"><span class="funcparam">signed</span></span> = true); 
    180186</span></dt> 
    181187<script type="text/javascript">explorer.outline.writeEnabled = false;</script> 
    182188 
    183 <dd>Sort the elements of an array using a radix  
    184 <span class="currsymbol">sort</span> 
    185 <script type="text/javascript">explorer.outline.addDecl('sort');</script> 
    186 
    187  This runs in linear time and can  
    188 <span class="currsymbol">sort</span> 
    189 <script type="text/javascript">explorer.outline.addDecl('sort');</script> 
    190  several million items per second on modern hardware. 
     189<dd>Sort the elements of an array using a radix sort. 
     190 This runs in linear time and can sort several million items per second on modern hardware. 
    191191 Special thanks go to Pierre Terdiman for his essay: Radix Sort Revisited. 
    192192<br><br> 
     
    208208<pre class="d_code"> Timer[] array; 
    209209 // ... fill array with new Timer() ... 
    210  array.sort((Timer a) { return a.get(); }); 
     210 array.radixSort((Timer a) { return a.get(); }); 
    211211 --------------------------------  
    212212</pre> 
     
    224224        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    225225        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    226         on Sat May 26 23:07:47 2007 
     226        on Sun Jul  8 00:19:33 2007 
    227227 
    228228    </div> 
     
    321321    explorer.packageExplorer.addModule("yage.system.render"); 
    322322 
    323     explorer.packageExplorer.addModule("yage.universe"); 
    324  
    325323    explorer.packageExplorer.addModule("yage.util.all"); 
    326324 
  • trunk/doc/api/yage.core.freelist.html

    r31 r32  
    165165        Documentation generated with <a href="http://www.dsource.org/projects/helix/wiki/CandyDoc"> 
    166166        <img src="img/candydoc.gif" alt="CandyDoc" style="vertical-align:middle; top:-1px"></a> 
    167         on Sat May 26 23:07:47 2007 
     167        on Sun Jul  8 00:19:33 2007 
    168168 
    169169    </div> 
     
    261261 
    262262    explorer.packageExplorer.addModule("yage.system.render"); 
    263