ADMB Documentation  11.1.2503
 All Classes Files Functions Variables Typedefs Friends Defines
Defines
amoeba.cpp File Reference

(* $Id: amoeba.cpp 1919 2014-04-22 22:02:01Z johnoel $)

Description not yet available. More...

#include <admodel.h>
#include <math.h>

Go to the source code of this file.

Defines

#define GET_PSUM
 Computes psum.
#define NMAX   5000
#define NRANSI
#define NRANSI
#define SWAP(a, b)   {swap=(a);(a)=(b);(b)=swap;}
 Reverses a and b.

Detailed Description

Description not yet available.

Definition in file amoeba.cpp.


Define Documentation

#define GET_PSUM
Value:
for (j=1;j<=ndim;j++) {\
          for (sum=0.0,i=1;i<=mpts;i++) sum += p[i][j];\
          psum[j]=sum;}

Computes psum.

Definition at line 20 of file amoeba.cpp.

Referenced by function_minimizer::adamoeba().

#define NMAX   5000

Definition at line 15 of file amoeba.cpp.

Referenced by function_minimizer::adamoeba().

#define NRANSI

Definition at line 107 of file amoeba.cpp.

#define NRANSI

Definition at line 107 of file amoeba.cpp.

#define SWAP (   a,
 
)    {swap=(a);(a)=(b);(b)=swap;}

Reverses a and b.

Definition at line 28 of file amoeba.cpp.

Referenced by function_minimizer::adamoeba().