Changeset 4080
- Timestamp:
- Jun 1, 2005, 12:10:01 PM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4078 r4080 1 %%% $Id: ChangeLogSDRS.tex,v 1.11 8 2005-06-01 21:51:25jhoblitt Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.119 2005-06-01 22:10:01 jhoblitt Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 662 662 \item change \code{psHash} to store it's number of elements as an \code{unsigned long int} 663 663 \item change \code{psLookupTable} to store it's index as an \code{unsigned long int} 664 \end{itemize} 665 \end{itemize} 664 \item change \code{psBitSet} to store it's size as an \code{long int} 665 \end{itemize} 666 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4079 r4080 1 %%% $Id: psLibSDRS.tex,v 1.25 4 2005-06-01 21:57:39jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.255 2005-06-01 22:10:01 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 2054 2054 \begin{datatype} 2055 2055 typedef struct { 2056 int n;///< Number of chars that form the bitset2056 long int n; ///< Number of chars that form the bitset 2057 2057 char *bits; ///< The bits 2058 2058 } psBitSet; … … 2061 2061 We also require the corresponding constructor and destructor: 2062 2062 \begin{prototype} 2063 psBitSet *psBitSetAlloc( psU32nalloc);2063 psBitSet *psBitSetAlloc(long int nalloc); 2064 2064 \end{prototype} 2065 2065 where \code{n} is the requested number of bits. … … 2075 2075 2076 2076 \begin{prototype} 2077 psBitSet *psBitSetSet(psBitSet *bitSet, psU32bit);2078 psBitSet* psBitSetClear(psBitSet *bitSet, psU32bit);2077 psBitSet *psBitSetSet(psBitSet *bitSet, long int bit); 2078 psBitSet* psBitSetClear(psBitSet *bitSet, long int bit); 2079 2079 psBitSet *psBitSetOp(psBitSet *outBitSet, const psBitSet *inBitSet1, const char *operator, const psBitSet *inBitSet2); 2080 2080 psBitSet *psBitSetNot(psBitSet *outBitSet, const psBitSet *inBitSet); 2081 bool psBitSetTest(const psBitSet *bitSet, psU32bit);2081 bool psBitSetTest(const psBitSet *bitSet, long int bit); 2082 2082 char *psBitSetToString(const psBitSet* bitSet); 2083 2083 \end{prototype} … … 2087 2087 will be modified. 2088 2088 2089 \code{psBitSetClear} clears the specified \code{bit} in the \code{ inBits}2089 \code{psBitSetClear} clears the specified \code{bit} in the \code{bitSet} 2090 2090 and returns the updated bitset. The input bitset will be modified. 2091 2091 2092 2092 \code{psBitSetOp} returns the \code{psBitSet} that is the result of 2093 2093 performing the specified \code{operator} (one of \code{"AND"}, 2094 \code{"OR"}, or \code{"XOR"}) on \code{inBit s1} and \code{inBits2}.2095 If the output bitset \code{outBit s} is \code{NULL}, it is created by2094 \code{"OR"}, or \code{"XOR"}) on \code{inBitSet1} and \code{inBitSet2}. 2095 If the output bitset \code{outBitSet} is \code{NULL}, it is created by 2096 2096 the function. 2097 2097
Note:
See TracChangeset
for help on using the changeset viewer.
