IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6204 for trunk/psLib/src/types


Ignore:
Timestamp:
Jan 26, 2006, 11:10:22 AM (21 years ago)
Author:
gusciora
Message:

Implemented the polynomial alloc argument changes.

Location:
trunk/psLib/src/types
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psLookupTable.c

    r5522 r6204  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-11-16 02:40:13 $
     9*  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-01-26 21:10:22 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    841841}
    842842
    843 psVector* psLookupTableInterpolateAll(const psLookupTable *table,
    844                                       double index)
     843psVector* psLookupTableInterpolateAll(
     844    const psLookupTable *table,
     845    double index,
     846    psVector *stats)
    845847{
    846848    long numCols = 0;
     
    851853    numCols = table->values->n;
    852854    PS_ASSERT_INT_UNEQUAL(numCols, 0,NULL);
     855    if (stats != NULL) {
     856        // XXX: Determine what the stats vector is for.  Not documented in SDRS.
     857        psLogMsg(__func__, PS_LOG_WARN, "WARNING: the psVector stats is currently ignored by this function.\n");
     858    }
    853859
    854860    // Create output vector
  • trunk/psLib/src/types/psLookupTable.h

    r4898 r6204  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-08-30 01:14:13 $
     9*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-01-26 21:10:22 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1919#include "psVector.h"
    2020#include "psArray.h"
     21#include "psLogMsg.h"
    2122
    2223
     
    138139 */
    139140psVector* psLookupTableInterpolateAll(
    140     const psLookupTable *table,        ///< Table with data
    141     double index                       ///< Value to be interpolated
     141    const psLookupTable *table,         ///< Table with data
     142    double index,                       ///< Value to be interpolated
     143    psVector *stats                     ///< Unknown
    142144);
    143145
Note: See TracChangeset for help on using the changeset viewer.