Changeset 2372 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Nov 15, 2004, 4:20:33 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r2371 r2372 1 %%% $Id: psLibSDRS.tex,v 1.15 1 2004-11-15 22:22:53 price Exp $1 %%% $Id: psLibSDRS.tex,v 1.152 2004-11-16 02:20:33 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 2247 2247 int n; ///< Number of spline pieces 2248 2248 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. 2250 2250 } psSpline1D; 2251 2251 \end{verbatim} … … 2257 2257 (linear) or 3 (cubic).} All the spline pieces shall have the same 2258 2258 order polynomial (the type of polynomial is left to the 2259 implementation). The \code{ domains} member specifies the boundaries2259 implementation). The \code{knots} member specifies the boundaries 2260 2260 between each spline piece (including the two ends). 2261 2261 … … 2267 2267 2268 2268 \code{psSpline1DAlloc} shall allocate and return a \code{psSpline1D}, 2269 setting the \code{ domains} on the basis of the input number of spline2269 setting the \code{knots} on the basis of the input number of spline 2270 2270 pieces, \code{n}, and the minimum (\code{min}) and maximum 2271 2271 (\code{max}) data values. The spline pieces shall be of the specified … … 2274 2274 \code{psSpline1DAllocGeneric} shall allocate and return a 2275 2275 \code{psSpline1D}, using the \code{bounds} to define the number of 2276 spline pieces and the \code{ domains}. The spline pieces shall be of2276 spline pieces and the \code{knots}. The spline pieces shall be of 2277 2277 the specified \code{order}. 2278 2278 … … 2510 2510 const psVector *y); 2511 2511 \end{verbatim} 2512 \code{psVectorFitSpline } shall return the spline that best fits the2512 \code{psVectorFitSpline1D} shall return the spline that best fits the 2513 2513 given combination of ordinates (\code{x}) and coordinates (\code{y}). 2514 The function shall construct a new \code{psSpline1D} based on domains2514 The function shall construct a new \code{psSpline1D} based on knots 2515 2515 determined from \code{x}: the domain boundaries are the data values in 2516 2516 \code{x}. As is the case for \code{psVectorFitPolynomial1D}, if
Note:
See TracChangeset
for help on using the changeset viewer.
