IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17566


Ignore:
Timestamp:
May 7, 2008, 1:11:58 PM (18 years ago)
Author:
eugene
Message:

clarified comment on disection

File:
1 edited

Legend:

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

    r12609 r17566  
    33 *  This file contains standard math routines.
    44 *
    5  *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-03-28 00:49:33 $
     5 *  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2008-05-07 23:11:58 $
    77 *
    88 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    103103psVectorBinDisect(): This function takes as input an array of data as well as a single value for that data.
    104104The input vector values are assumed to be non-decreasing (v[i-1] <= v[i] for all i).  This routine does a
    105 binary disection of the vector and returns "i" such that (v[i] <= x <= v[i+1).  If x lies outside the range of
     105binary disection of the vector and returns "i" such that (v[i] <= x < v[i+1).  If x lies outside the range of
    106106v[], then this routine prints a warning message and returns (-2 or -1).
    107107  *****************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.