IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4288


Ignore:
Timestamp:
Jun 16, 2005, 12:32:57 PM (21 years ago)
Author:
gusciora
Message:

...

Location:
trunk/psLib/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psCoord.c

    r4286 r4288  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-06-16 22:00:03 $
     12*  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-06-16 22:32:57 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    242242    PS_ASSERT_PTR_NON_NULL(transform->y, NULL);
    243243    PS_ASSERT_PTR_NON_NULL(coords, NULL);
    244     printf("psPlaneTransformApply(): (%f, %f) x:(%d, %d)\n",
    245            coords->x, coords->y, transform->x->nX, transform->x->nY);
    246244
    247245    if (out == NULL) {
     
    249247        out = (psPlane* ) psAlloc(sizeof(psPlane));
    250248    }
    251     /*
    252         out->x = psDPolynomial2DEval(
    253                      transform->x,
    254                      coords->x,
    255                      coords->y
    256                  );
    257         out->y = psDPolynomial2DEval(
    258                      transform->y,
    259                      coords->x,
    260                      coords->y
    261                  );
    262     */
     249
    263250    out->x = psDPolynomial2DEval(
    264251                 transform->x,
     
    273260             );
    274261
    275     printf("psPlaneTransformApply(END)\n");
    276262    return (out);
    277263}
  • trunk/psLib/src/astronomy/psCoord.c

    r4286 r4288  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-06-16 22:00:03 $
     12*  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-06-16 22:32:57 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    242242    PS_ASSERT_PTR_NON_NULL(transform->y, NULL);
    243243    PS_ASSERT_PTR_NON_NULL(coords, NULL);
    244     printf("psPlaneTransformApply(): (%f, %f) x:(%d, %d)\n",
    245            coords->x, coords->y, transform->x->nX, transform->x->nY);
    246244
    247245    if (out == NULL) {
     
    249247        out = (psPlane* ) psAlloc(sizeof(psPlane));
    250248    }
    251     /*
    252         out->x = psDPolynomial2DEval(
    253                      transform->x,
    254                      coords->x,
    255                      coords->y
    256                  );
    257         out->y = psDPolynomial2DEval(
    258                      transform->y,
    259                      coords->x,
    260                      coords->y
    261                  );
    262     */
     249
    263250    out->x = psDPolynomial2DEval(
    264251                 transform->x,
     
    273260             );
    274261
    275     printf("psPlaneTransformApply(END)\n");
    276262    return (out);
    277263}
  • trunk/psLib/src/dataManip/psFunctions.c

    r4286 r4288  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.107 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-16 22:00:03 $
     9 *  @version $Revision: 1.108 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-16 22:32:07 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    680680    psF64 xSum = 1.0;
    681681    psF64 ySum = 1.0;
    682     printf("dOrdPolynomial2DEval(%f, %f) (%d, %d)\n", x, y, myPoly->nX, myPoly->nY);
    683682
    684683    for (loop_x = 0; loop_x < myPoly->nX; loop_x++) {
     
    692691        xSum *= x;
    693692    }
    694     printf("dOrdPolynomial2DEval(END)\n");
    695693
    696694    return(polySum);
  • trunk/psLib/src/math/psPolynomial.c

    r4286 r4288  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.107 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-16 22:00:03 $
     9 *  @version $Revision: 1.108 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-16 22:32:07 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    680680    psF64 xSum = 1.0;
    681681    psF64 ySum = 1.0;
    682     printf("dOrdPolynomial2DEval(%f, %f) (%d, %d)\n", x, y, myPoly->nX, myPoly->nY);
    683682
    684683    for (loop_x = 0; loop_x < myPoly->nX; loop_x++) {
     
    692691        xSum *= x;
    693692    }
    694     printf("dOrdPolynomial2DEval(END)\n");
    695693
    696694    return(polySum);
  • trunk/psLib/src/math/psSpline.c

    r4286 r4288  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.107 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-16 22:00:03 $
     9 *  @version $Revision: 1.108 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-16 22:32:07 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    680680    psF64 xSum = 1.0;
    681681    psF64 ySum = 1.0;
    682     printf("dOrdPolynomial2DEval(%f, %f) (%d, %d)\n", x, y, myPoly->nX, myPoly->nY);
    683682
    684683    for (loop_x = 0; loop_x < myPoly->nX; loop_x++) {
     
    692691        xSum *= x;
    693692    }
    694     printf("dOrdPolynomial2DEval(END)\n");
    695693
    696694    return(polySum);
Note: See TracChangeset for help on using the changeset viewer.