IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2006, 11:09:08 AM (20 years ago)
Author:
gusciora
Message:

This file contains some of the generic math functions which
were previously in psStats and psSpline and psMinimize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.h

    r6215 r6305  
    1414 *  @author GLG, MHPCC
    1515 *
    16  *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
    17  *  @date $Date: 2006-01-26 23:49:11 $
     16 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     17 *  @date $Date: 2006-02-02 21:09:08 $
    1818 *
    1919 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    202202);
    203203
    204 // XXX: Create a single, generic, version of the vector normalize function.
    205 // XXX: Ask IfA for a public psLib function.
    206 
    207 /** Normalize the range of a vector containing U8 values  */
    208 void p_psNormalizeVectorRangeU8(
    209     psVector* myData,                  ///< Vector containing the U8 values
    210     psU8 low,                          ///< Minimum value
    211     psU8 high                          ///< Maximum value
    212 );
    213 
    214 /** Normalize the range of a vector containing U16 values  */
    215 void p_psNormalizeVectorRangeU16(
    216     psVector* myData,                  ///< Vector containing the U16 values
    217     psU16 low,                         ///< Minimum value
    218     psU16 high                         ///< Maximum value
    219 );
    220 
    221 /** Normalize the range of a vector containing U32 values  */
    222 void p_psNormalizeVectorRangeU32(
    223     psVector* myData,                  ///< Vector containing the U32 values
    224     psU32 low,                         ///< Minimum value
    225     psU32 high                         ///< Maximum value
    226 );
    227 
    228 /** Normalize the range of a vector containing U64 values  */
    229 void p_psNormalizeVectorRangeU64(
    230     psVector* myData,                  ///< Vector containing the U64 values
    231     psU64 low,                         ///< Minimum value
    232     psU64 high                         ///< Maximum value
    233 );
    234 
    235 /** Normalize the range of a vector containing S8 values  */
    236 void p_psNormalizeVectorRangeS8(
    237     psVector* myData,                  ///< Vector containing the S8 values
    238     psS8 low,                          ///< Minimum value
    239     psS8 high                          ///< Maximum value
    240 );
    241 
    242 /** Normalize the range of a vector containing S16 values  */
    243 void p_psNormalizeVectorRangeS16(
    244     psVector* myData,                  ///< Vector containing the S16 values
    245     psS16 low,                         ///< Minimum value
    246     psS16 high                         ///< Maximum value
    247 );
    248 
    249 /** Normalize the range of a vector containing S32 values  */
    250 void p_psNormalizeVectorRangeS32(
    251     psVector* myData,                  ///< Vector containing the S32 values
    252     psS32 low,                         ///< Minimum value
    253     psS32 high                         ///< Maximum value
    254 );
    255 
    256 /** Normalize the range of a vector containing S64 values  */
    257 void p_psNormalizeVectorRangeS64(
    258     psVector* myData,                  ///< Vector containing the S64 values
    259     psS64 low,                         ///< Minimum value
    260     psS64 high                         ///< Maximum value
    261 );
    262 
    263 /** Normalize the range of a vector containing F32 values  */
    264 void p_psNormalizeVectorRangeF32(
    265     psVector* myData,                  ///< Vector containing the F32 values
    266     psF32 low,                         ///< Minimum value
    267     psF32 high                         ///< Maximum value
    268 );
    269 
    270 /** Normalize the range of a vector containing F64 values  */
    271 void p_psNormalizeVectorRangeF64(
    272     psVector* myData,                  ///< Vector containing the F64 values
    273     psF64 low,                         ///< Minimum value
    274     psF64 high                         ///< Maximum value
    275 );
    276 
    277204/// @}
    278205
Note: See TracChangeset for help on using the changeset viewer.