IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2005, 2:42:28 PM (21 years ago)
Author:
gusciora
Message:

Mods to thespline code.

File:
1 edited

Legend:

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

    r4568 r4570  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-07-16 00:06:32 $
     9 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-07-16 00:42:28 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    18291829                            float max)
    18301830{
    1831     printf("HEY: psSpline1DAlloc()\n");
    18321831    PS_ASSERT_INT_NONNEGATIVE(numSplines, NULL);
    18331832    PS_ASSERT_INT_NONNEGATIVE(order, NULL);
     
    18531852    //
    18541853    tmpSpline->knots = psVectorAlloc(numSplines+1, PS_TYPE_F32);
    1855     if (tmpSpline->knots == NULL) {
    1856         printf("BAD\n");
    1857     } else {
    1858         printf("GOOD\n");
    1859     }
    18601854    psF32 width = (max - min) / ((psF32) numSplines);
    18611855    tmpSpline->knots->data.F32[0] = min;
     
    18971891                                   int order)
    18981892{
    1899     printf("HEY: psSpline1DAllocGeneric()\n");
    19001893    PS_ASSERT_VECTOR_NON_NULL(bounds, NULL);
    19011894    PS_ASSERT_VECTOR_NON_EMPTY(bounds, NULL);
     
    19301923    }
    19311924    tmpSpline->knots = PsVectorDup((psVector *) bounds);
    1932     if (tmpSpline->knots == NULL) {
    1933         printf("BAD\n");
    1934     } else {
    1935         printf("GOOD\n");
    1936     }
    19371925
    19381926    psMemSetDeallocator(tmpSpline, (psFreeFunc)spline1DFree);
Note: See TracChangeset for help on using the changeset viewer.