IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2852


Ignore:
Timestamp:
Dec 29, 2004, 4:17:06 PM (22 years ago)
Author:
Paul Price
Message:

Removed "restrict" qualifier in specs.

File:
1 edited

Legend:

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

    r2809 r2852  
    1 %%% $Id: psLibSDRS.tex,v 1.162 2004-12-23 20:03:24 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.163 2004-12-30 02:17:06 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    21782178    psPolynomialType type;              ///< Polynomial type
    21792179    int n;                              ///< Number of terms
    2180     float *restrict coeff;              ///< Coefficients
    2181     float *restrict coeffErr;           ///< Error in coefficients
    2182     char *restrict mask;                ///< Coefficient mask
     2180    float *coeff;                       ///< Coefficients
     2181    float *coeffErr;                    ///< Error in coefficients
     2182    char *mask;                         ///< Coefficient mask
    21832183} psPolynomial1D;
    21842184\end{verbatim}
     
    21892189    psPolynomialType type;              ///< Polynomial type
    21902190    int nX, nY;                         ///< Number of terms in x and y
    2191     float *restrict *restrict coeff;    ///< Coefficients
    2192     float *restrict *restrict coeffErr; ///< Error in coefficients
    2193     char *restrict *restrict mask;      ///< Coefficients mask
     2191    float **coeff;                      ///< Coefficients
     2192    float **coeffErr;                  ///< Error in coefficients
     2193    char **mask;                        ///< Coefficients mask
    21942194} psPolynomial2D;
    21952195\end{verbatim}
     
    22132213    psPolynomialType type;              ///< Polynomial type
    22142214    int n;                              ///< Number of terms
    2215     double *restrict coeff;             ///< Coefficients
    2216     double *restrict coeffErr;          ///< Error in coefficients
    2217     char *restrict mask;                ///< Coefficient mask
     2215    double *coeff;                      ///< Coefficients
     2216    double *coeffErr;                   ///< Error in coefficients
     2217    char *mask;                         ///< Coefficient mask
    22182218} psDPolynomial1D;
    22192219\end{verbatim}
     
    22242224    psPolynomialType type;              ///< Polynomial type
    22252225    int nX, nY;                         ///< Number of terms in x and y
    2226     double *restrict *restrict coeff;   ///< Coefficients
    2227     double *restrict *restrict coeffErr; ///< Error in coefficients
    2228     char *restrict *restrict mask;      ///< Coefficients mask
     2226    double **coeff;                     ///< Coefficients
     2227    double **coeffErr;                  ///< Error in coefficients
     2228    char **mask;                        ///< Coefficients mask
    22292229} psDPolynomial2D;
    22302230\end{verbatim}
     
    22442244To evaluate the polynomials at specific coordinates, we define:
    22452245\begin{verbatim}
    2246 double psDPolynomial2DEval(const psDPolynomial2D *restrict myPoly, double x, double y);
     2246double psDPolynomial2DEval(const psDPolynomial2D *myPoly, double x, double y);
    22472247\end{verbatim}
    22482248
     
    27152715\begin{verbatim}
    27162716psImage *psImageRebin(psImage *out, const psImage *in,
    2717                       const psImage *restrict mask,
     2717                      const psImage *mask,
    27182718                      unsigned int maskVal,
    27192719                      int scale, const psStats *stats);
Note: See TracChangeset for help on using the changeset viewer.