IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 16, 2004, 2:18:31 PM (22 years ago)
Author:
gusciora
Message:

Fixed chebyshev polynomial code.

File:
1 edited

Legend:

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

    r2739 r2741  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.94 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-16 23:04:17 $
     11 *  @version $Revision: 1.95 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-12-17 00:18:31 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10491049        PS_VECTOR_CHECK_TYPE_F32_OR_F64(x, NULL);
    10501050        PS_VECTOR_CONVERT_F32_TO_F64_STATIC(x, x64, x64Static);
     1051        if (myPoly->type == PS_POLYNOMIAL_CHEB) {
     1052            p_psNormalizeVectorRangeF64(x64, -1.0, 1.0);
     1053        }
    10511054    }
    10521055    PS_VECTOR_CHECK_SIZE_EQUAL(x64, y64, NULL);
Note: See TracChangeset for help on using the changeset viewer.