IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 5, 2006, 10:47:47 AM (20 years ago)
Author:
Paul Price
Message:

Adding const where appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/psVectorBracket.c

    r8927 r9297  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2006-09-25 01:06:51 $
     7 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2006-10-05 20:47:47 $
    99 *
    1010 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    2020
    2121// return the last entry below or first entry above key value
    22 int psVectorBracket (psVector *index, psF32 key, bool above)
     22int psVectorBracket(const psVector *index, psF32 key, bool above)
    2323{
    2424
     
    6060
    6161// return the last entry below or first entry above key value (reverse sorted input)
    62 int psVectorBracketDescend (psVector *index, psF32 key, bool above)
     62int psVectorBracketDescend(const psVector *index, psF32 key, bool above)
    6363{
    6464
     
    100100
    101101// search for the bins bounding key in index, interpolate the corresponding values
    102 psF32 psVectorInterpolate (psVector *index, psVector *value, psF32 key)
     102psF32 psVectorInterpolate(const psVector *index, const psVector *value, psF32 key)
    103103{
    104104
Note: See TracChangeset for help on using the changeset viewer.