IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 19, 2005, 9:53:13 AM (21 years ago)
Author:
drobbin
Message:

Made changes to poly struct (psMaskType) and spline fxns (unsigned int's)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psSpline.h

    r4991 r5066  
    1010 *  @author GLG, MHPCC
    1111 *
    12  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-09-11 22:18:40 $
     12 *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-09-19 19:53:13 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    3535typedef struct
    3636{
    37     int n;                             ///< The number of spline pieces
     37    unsigned int n;                    ///< The number of spline pieces
    3838    psPolynomial1D **spline;           ///< An array of n pointers to the spline polynomials
    3939    psVector *knots;                   ///< The boundaries between each spline piece.  Size is n+1.
     
    5151 */
    5252psSpline1D *psSpline1DAlloc(
    53     int n,                             ///< Number of spline polynomials
    54     int order,                         ///< Order of spline polynomials
     53    unsigned int n,                    ///< Number of spline polynomials
     54    unsigned int order,                ///< Order of spline polynomials
    5555    float min,                         ///< Lower boundary value of spline polynomials
    5656    float max                          ///< Upper boundary value of spline polynomials
     
    6565psSpline1D *psSpline1DAllocGeneric(
    6666    const psVector *bounds,            ///< Bounds for spline polynomials
    67     int order                          ///< Order of spline polynomials
     67    unsigned int order                 ///< Order of spline polynomials
    6868);
    6969
     
    9191 *  @return psS32    corresponding index number of specified value
    9292 */
    93 psS32 p_psVectorBinDisect(
     93unsigned int p_psVectorBinDisect(
    9494    psVector *bins,                    ///< Array of non-decreasing values
    9595    psScalar *x                        ///< Target value to find
     
    104104    psVector *domain,                  ///< Domain (x coords) for interpolation
    105105    psVector *range,                   ///< Range (y coords) for interpolation
    106     int order,                         ///< Order of interpolation function
     106    unsigned int order,                ///< Order of interpolation function
    107107    psScalar *x                        ///< Location at which to evaluate
    108108);
     
    126126 */
    127127psSpline1D *psVectorFitSpline1D(
    128     psSpline1D *mySpline,              ///< The spline which will be generated.
     128    psSpline1D *spline,                ///< The spline which will be generated.
    129129    const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
    130130    const psVector* y,                 ///< Coordinates
     
    135135    const psVector* x,                 ///< Ordinates (or NULL to just use the indices)
    136136    const psVector* y,                 ///< Coordinates
    137     int nKnots
     137    unsigned int nKnots                ///< Number of Knots
    138138);
    139139
Note: See TracChangeset for help on using the changeset viewer.