IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4969


Ignore:
Timestamp:
Sep 7, 2005, 2:02:48 PM (21 years ago)
Author:
gusciora
Message:

....

Location:
trunk/psLib/src/math
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomial.c

    r4958 r4969  
    77*  polynomials.  It also contains a Gaussian functions.
    88*
    9 *  @version $Revision: 1.116 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-09-07 21:35:50 $
     9*  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-09-08 00:02:48 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6363/* FUNCTION IMPLEMENTATION - LOCAL                                           */
    6464/*****************************************************************************/
     65
     66bool psMemCheckPolynomial1D(psPtr ptr)
     67{
     68    return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial1DFree );
     69}
     70
     71bool psMemCheckPolynomial2D(psPtr ptr)
     72{
     73    return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial2DFree );
     74}
     75
     76bool psMemCheckPolynomial3D(psPtr ptr)
     77{
     78    return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial3DFree );
     79}
     80
     81bool psMemCheckPolynomial4D(psPtr ptr)
     82{
     83    return ( psMemGetDeallocator(ptr) == (psFreeFunc)polynomial4DFree );
     84}
     85
     86bool psMemCheckSpline1D(psPtr ptr)
     87{
     88    return ( psMemGetDeallocator(ptr) == (psFreeFunc)spline1DFree );
     89}
    6590
    6691static void polynomial1DFree(psPolynomial1D* poly)
  • trunk/psLib/src/math/psPolynomial.h

    r4963 r4969  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-09-07 23:46:04 $
     13 *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-09-08 00:02:48 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    246246);
    247247
     248/** Checks the type of a particular pointer.
     249 *
     250 *  Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
     251 *
     252 *  @return bool:       True if the pointer matches a psPolynomial1D structure, false otherwise.
     253 */
     254bool psMemCheckPolynomial1D(
     255    psPtr ptr                          ///< the pointer whose type to check
     256);
     257
     258/** Checks the type of a particular pointer.
     259 *
     260 *  Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
     261 *
     262 *  @return bool:       True if the pointer matches a psPolynomial2D structure, false otherwise.
     263 */
     264bool psMemCheckPolynomial2D(
     265    psPtr ptr                          ///< the pointer whose type to check
     266);
     267
     268/** Checks the type of a particular pointer.
     269 *
     270 *  Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
     271 *
     272 *  @return bool:       True if the pointer matches a psPolynomial3D structure, false otherwise.
     273 */
     274bool psMemCheckPolynomial3D(
     275    psPtr ptr                          ///< the pointer whose type to check
     276);
     277
     278/** Checks the type of a particular pointer.
     279 *
     280 *  Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
     281 *
     282 *  @return bool:       True if the pointer matches a psPolynomial4D structure, false otherwise.
     283 */
     284bool psMemCheckPolynomial4D(
     285    psPtr ptr                          ///< the pointer whose type to check
     286);
     287
    248288/** \} */ // End of MathGroup Functions
    249289
  • trunk/psLib/src/math/psSpline.c

    r4968 r4969  
    77*  splines.
    88*
    9 *  @version $Revision: 1.119 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-09-07 23:53:00 $
     9*  @version $Revision: 1.120 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-09-08 00:02:48 $
    1111*
    1212*
     
    6161/* FUNCTION IMPLEMENTATION - LOCAL                                           */
    6262/*****************************************************************************/
     63
     64bool psMemCheckSpline1D(psPtr ptr)
     65{
     66    return ( psMemGetDeallocator(ptr) == (psFreeFunc)spline1DFree );
     67}
    6368
    6469static void spline1DFree(psSpline1D *tmpSpline)
  • trunk/psLib/src/math/psSpline.h

    r4958 r4969  
    1010 *  @author GLG, MHPCC
    1111 *
    12  *  @version $Revision: 1.53 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-09-07 21:35:50 $
     12 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-09-08 00:02:48 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    108108);
    109109
     110/** Checks the type of a particular pointer.
     111 *
     112 *  Uses the appropriate deallocation function in psMemBlock to check the ptr datatype.
     113 *
     114 *  @return bool:       True if the pointer matches a psSpline1D structure, false otherwise.
     115 */
     116bool psMemCheckSpline1D(
     117    psPtr ptr                          ///< the pointer whose type to check
     118);
     119
    110120/** \} */ // End of MathGroup Functions
    111121
Note: See TracChangeset for help on using the changeset viewer.