Changeset 4410
- Timestamp:
- Jun 28, 2005, 11:22:27 AM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4408 r4410 1 %%% $Id: ChangeLogSDRS.tex,v 1.15 4 2005-06-28 19:52:10price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.155 2005-06-28 21:22:27 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 747 747 \item \code{nFail} in \code{psMetadataConfigParse} is \code{unsigned}. 748 748 \item \code{timeval} changed to \code{struct timeval} throughout. 749 \end{itemize} 749 \item Making various integers \code{unsigned} in the various 750 \code{psPolynomial} types and \code{psSpline1D} (bug 460). 751 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4408 r4410 1 %%% $Id: psLibSDRS.tex,v 1.30 2 2005-06-28 19:52:10price Exp $1 %%% $Id: psLibSDRS.tex,v 1.303 2005-06-28 21:22:27 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 4150 4150 psPolynomialType type; ///< Polynomial type 4151 4151 psElemType ctype; ///< Polynomial precision 4152 int n;///< Number of terms4152 unsigned int n; ///< Number of terms 4153 4153 union { 4154 4154 psF32 *F32; ///< Coefficients … … 4168 4168 psPolynomialType type; ///< Polynomial type 4169 4169 psElemType ctype; ///< Polynomial precision 4170 int nX, nY;///< Number of terms in x and y4170 unsigned int nX, nY; ///< Number of terms in x and y 4171 4171 union { 4172 4172 psF32 **F32; ///< Coefficients … … 4199 4199 psPolynomial1D *psPolynomial1DAlloc(psPolynomialType type, 4200 4200 psElemType ctype, 4201 int nX);4201 unsigned int nX); 4202 4202 psPolynomial2D *psPolynomial2DAlloc(psPolynomialType type, 4203 4203 psElemType ctype, 4204 int nX,int nY);4204 unsigned int nX, unsigned int nY); 4205 4205 psPolynomial3D *psPolynomial3DAlloc(psPolynomialType type, 4206 4206 psElemType ctype, 4207 int nX, int nY,int nZ);4207 unsigned int nX, unsigned int nY, unsigned int nZ); 4208 4208 psPolynomial4D *psPolynomial4DAlloc(psPolynomialType type, 4209 4209 psElemType ctype, 4210 int nX, int nY, int nZ,int nT);4210 unsigned int nX, unsigned int nY, unsigned int nZ, unsigned int nT); 4211 4211 \end{prototype} 4212 4212 where \code{nX}, \code{nY}, etc specify the polynomial order in the … … 4266 4266 \begin{datatype} 4267 4267 typedef struct { 4268 int n;///< Number of spline pieces4268 unsigned int n; ///< Number of spline pieces 4269 4269 psPolynomial1D **spline; ///< Array of n pointers to splines 4270 4270 psVector *knots; ///< The boundaries between each spline piece. Size is n+1. … … 4284 4284 Of course, we require the appropriate constructors and destructor: 4285 4285 \begin{prototype} 4286 psSpline1D *psSpline1DAlloc( int n,int order, float min, float max);4287 psSpline1D *psSpline1DAllocGeneric(const psVector *bounds, int order);4286 psSpline1D *psSpline1DAlloc(unsigned int n, unsigned int order, float min, float max); 4287 psSpline1D *psSpline1DAllocGeneric(const psVector *bounds, unsigned int order); 4288 4288 \end{prototype} 4289 4289
Note:
See TracChangeset
for help on using the changeset viewer.
