IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 10, 2005, 11:46:46 AM (21 years ago)
Author:
desonia
Message:

fixed bug in psPixels and tested psVectorExtend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psVector.h

    r4162 r4212  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.34 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-06-08 23:40:45 $
     13 *  @version $Revision: 1.35 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-06-10 21:46:46 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8888    psVector* psVec,                   ///< Vector to reallocate.
    8989    psU32 nalloc                       ///< Total number of elements to make available.
     90);
     91
     92/** Extend a vector's length.
     93 *
     94 *  Increments a vector's length, n, by the specified number of elements.
     95 *  If the allocated storage is less than the current vector's length plus
     96 *  twice the number of elements to be added, it is reallocated larger by
     97 *  a given amount.
     98 *
     99 *  @return psVector*      Pointer to the adjusted psVector
     100 */
     101psVector *psVectorExtend(
     102    psVector *vector,                  ///< Vector to extend
     103    int delta,                         ///< Amount to expand allocation, if necessary
     104    int nExtend                        ///< Number of elements to add to vector length
    90105);
    91106
Note: See TracChangeset for help on using the changeset viewer.