Changeset 4022
- Timestamp:
- May 24, 2005, 1:56:16 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r4021 r4022 1 %%% $Id: psLibSDRS.tex,v 1.23 2 2005-05-24 23:44:45jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.233 2005-05-24 23:56:16 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1425 1425 Here is an example of how \code{psVectorExtend} is used to 1426 1426 automatically increment the vector length. 1427 \begin{ datatype}1427 \begin{verbatim} 1428 1428 // create data vector 1429 1429 psVector *y = psVectorAlloc (100); … … 1436 1436 // increments n by 1, extends length if needed by 100 1437 1437 } 1438 \end{ datatype}1438 \end{verbatim} 1439 1439 Note that the specification that the allocation always be greater than 1440 1440 the number of elements by twice the number of new elements implies
Note:
See TracChangeset
for help on using the changeset viewer.
