IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2372


Ignore:
Timestamp:
Nov 15, 2004, 4:20:33 PM (22 years ago)
Author:
Paul Price
Message:

In psSpline1D, renamed domains to knots.

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r2371 r2372  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.45 2004-11-15 22:22:48 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.46 2004-11-16 02:20:27 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    377377  memory.
    378378\item Added statement on use of \code{restrict}.
     379\item In \code{psSpline1D}, renamed \code{domains} to \code{knots}.
    379380\end{itemize}
    380381
  • trunk/doc/pslib/psLibSDRS.tex

    r2371 r2372  
    1 %%% $Id: psLibSDRS.tex,v 1.151 2004-11-15 22:22:53 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.152 2004-11-16 02:20:33 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    22472247    int n;                              ///< Number of spline pieces
    22482248    psPolynomial1D **spline;            ///< Array of n pointers to splines
    2249     float *domains;                     ///< The boundaries between each spline piece.  Size is n+1.
     2249    float *knots;                       ///< The boundaries between each spline piece.  Size is n+1.
    22502250} psSpline1D;
    22512251\end{verbatim}
     
    22572257(linear) or 3 (cubic).}  All the spline pieces shall have the same
    22582258order polynomial (the type of polynomial is left to the
    2259 implementation).  The \code{domains} member specifies the boundaries
     2259implementation).  The \code{knots} member specifies the boundaries
    22602260between each spline piece (including the two ends).
    22612261
     
    22672267
    22682268\code{psSpline1DAlloc} shall allocate and return a \code{psSpline1D},
    2269 setting the \code{domains} on the basis of the input number of spline
     2269setting the \code{knots} on the basis of the input number of spline
    22702270pieces, \code{n}, and the minimum (\code{min}) and maximum
    22712271(\code{max}) data values.  The spline pieces shall be of the specified
     
    22742274\code{psSpline1DAllocGeneric} shall allocate and return a
    22752275\code{psSpline1D}, using the \code{bounds} to define the number of
    2276 spline pieces and the \code{domains}.  The spline pieces shall be of
     2276spline pieces and the \code{knots}.  The spline pieces shall be of
    22772277the specified \code{order}.
    22782278
     
    25102510                                const psVector *y);
    25112511\end{verbatim}
    2512 \code{psVectorFitSpline} shall return the spline that best fits the
     2512\code{psVectorFitSpline1D} shall return the spline that best fits the
    25132513given combination of ordinates (\code{x}) and coordinates (\code{y}).
    2514 The function shall construct a new \code{psSpline1D} based on domains
     2514The function shall construct a new \code{psSpline1D} based on knots
    25152515determined from \code{x}: the domain boundaries are the data values in
    25162516\code{x}.  As is the case for \code{psVectorFitPolynomial1D}, if
Note: See TracChangeset for help on using the changeset viewer.