IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2247


Ignore:
Timestamp:
Nov 1, 2004, 8:57:05 AM (22 years ago)
Author:
gusciora
Message:

Removed static declaration.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r2246 r2247  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.78 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-11-01 18:55:38 $
     11 *  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-11-01 18:57:05 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10401040f(param + c * line).
    10411041 
    1042 Algorithm: 
    1043 XXX completely ad hoc: 
     1042Algorithm:
     1043XXX completely ad hoc:
    10441044start with the user-supplied starting
    10451045parameter and call that b.  Calculate a/c as a fractional amount
    10461046smaller/larger than b.  Repeat this process until a local minimum is found.
    10471047 
    1048 XXX: 
    1049 new algorithm: 
     1048XXX:
     1049new algorithm:
    10501050start at x=0, expand in one direction until the function
    10511051decreases.  Then you have two points in the bracket.  Keep going until it
     
    10531053direction.
    10541054 
    1055 XXX: 
     1055XXX:
    10561056This is F32 only.
    10571057 
    1058 XXX: 
     1058XXX:
    10591059output bracket vector should be an input as well.
    10601060*****************************************************************************/
     
    12301230    }
    12311231
    1232     static psVector *bracket = psVectorAlloc(3, PS_TYPE_F32);
     1232    psVector *bracket = psVectorAlloc(3, PS_TYPE_F32);
    12331233    tmp = psVectorAlloc(params->n, PS_TYPE_F32);
    12341234    a = -0.5;
  • trunk/psLib/src/math/psMinimize.c

    r2246 r2247  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.78 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-11-01 18:55:38 $
     11 *  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-11-01 18:57:05 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10401040f(param + c * line).
    10411041 
    1042 Algorithm: 
    1043 XXX completely ad hoc: 
     1042Algorithm:
     1043XXX completely ad hoc:
    10441044start with the user-supplied starting
    10451045parameter and call that b.  Calculate a/c as a fractional amount
    10461046smaller/larger than b.  Repeat this process until a local minimum is found.
    10471047 
    1048 XXX: 
    1049 new algorithm: 
     1048XXX:
     1049new algorithm:
    10501050start at x=0, expand in one direction until the function
    10511051decreases.  Then you have two points in the bracket.  Keep going until it
     
    10531053direction.
    10541054 
    1055 XXX: 
     1055XXX:
    10561056This is F32 only.
    10571057 
    1058 XXX: 
     1058XXX:
    10591059output bracket vector should be an input as well.
    10601060*****************************************************************************/
     
    12301230    }
    12311231
    1232     static psVector *bracket = psVectorAlloc(3, PS_TYPE_F32);
     1232    psVector *bracket = psVectorAlloc(3, PS_TYPE_F32);
    12331233    tmp = psVectorAlloc(params->n, PS_TYPE_F32);
    12341234    a = -0.5;
Note: See TracChangeset for help on using the changeset viewer.