IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 6, 2006, 2:51:33 PM (20 years ago)
Author:
Paul Price
Message:

Added psListLength, psArrayLength, psVectorLength, psPixelsLength.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r6255 r6333  
    1 %%% $Id: psLibSDRS.tex,v 1.378 2006-01-31 00:55:46 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.379 2006-02-07 00:51:33 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    19291929
    19301930\begin{prototype}
     1931long psArrayLength(const psArray *array);
     1932\end{prototype}
     1933
     1934This function returns the length of the array (\code{psArray.n}).
     1935
     1936\begin{prototype}
    19311937bool psArraySet(psArray *array, long position, psPtr data);
    19321938psPtr psArrayGet(const psArray *array, long position);
     
    20592065all the the data associated with the list.
    20602066
     2067\begin{prototype}
     2068long psListLength(const psList *list);
     2069\end{prototype}
     2070Return the length of the list (\code{psList.n}).
     2071
    20612072All data items placed onto lists must have their reference counters
    20622073(section~\ref{secMemRefcounter}) incremented.  When elements are
     
    23352346allocation and reallocation in a manner analogous to those provided
    23362347by \code{psVectorAlloc} and \code{psVectorRealloc}.
     2348
     2349\begin{prototype}
     2350long psPixelsLength(const psPixels *pixels);
     2351\end{prototype}
     2352
     2353\code{psPixelsLength} shall return the length of the pixel array (\code{psPixels.n}).
    23372354
    23382355\begin{prototype}
     
    34193436that the input \code{vector} is \code{NULL}, a new \code{psVector}
    34203437shall be allocated and returned.
     3438
     3439\begin{prototype}
     3440long psVectorLength(const psVector *vector);
     3441\end{prototype}
     3442
     3443This function returns the length of the vector (\code{psVector.n}).
    34213444
    34223445\begin{prototype}
Note: See TracChangeset for help on using the changeset viewer.