Changeset 5066 for trunk/psLib/src/math/psSpline.h
- Timestamp:
- Sep 19, 2005, 9:53:13 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSpline.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSpline.h
r4991 r5066 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-09-1 1 22:18:40$12 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-09-19 19:53:13 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 35 35 typedef struct 36 36 { 37 int n;///< The number of spline pieces37 unsigned int n; ///< The number of spline pieces 38 38 psPolynomial1D **spline; ///< An array of n pointers to the spline polynomials 39 39 psVector *knots; ///< The boundaries between each spline piece. Size is n+1. … … 51 51 */ 52 52 psSpline1D *psSpline1DAlloc( 53 int n,///< Number of spline polynomials54 int order,///< Order of spline polynomials53 unsigned int n, ///< Number of spline polynomials 54 unsigned int order, ///< Order of spline polynomials 55 55 float min, ///< Lower boundary value of spline polynomials 56 56 float max ///< Upper boundary value of spline polynomials … … 65 65 psSpline1D *psSpline1DAllocGeneric( 66 66 const psVector *bounds, ///< Bounds for spline polynomials 67 int order///< Order of spline polynomials67 unsigned int order ///< Order of spline polynomials 68 68 ); 69 69 … … 91 91 * @return psS32 corresponding index number of specified value 92 92 */ 93 psS32p_psVectorBinDisect(93 unsigned int p_psVectorBinDisect( 94 94 psVector *bins, ///< Array of non-decreasing values 95 95 psScalar *x ///< Target value to find … … 104 104 psVector *domain, ///< Domain (x coords) for interpolation 105 105 psVector *range, ///< Range (y coords) for interpolation 106 int order,///< Order of interpolation function106 unsigned int order, ///< Order of interpolation function 107 107 psScalar *x ///< Location at which to evaluate 108 108 ); … … 126 126 */ 127 127 psSpline1D *psVectorFitSpline1D( 128 psSpline1D * mySpline,///< The spline which will be generated.128 psSpline1D *spline, ///< The spline which will be generated. 129 129 const psVector* x, ///< Ordinates (or NULL to just use the indices) 130 130 const psVector* y, ///< Coordinates … … 135 135 const psVector* x, ///< Ordinates (or NULL to just use the indices) 136 136 const psVector* y, ///< Coordinates 137 int nKnots137 unsigned int nKnots ///< Number of Knots 138 138 ); 139 139
Note:
See TracChangeset
for help on using the changeset viewer.
