/*--------------------------------------------------------------------
 *
 *	grdmath_def.h [Generated by make_math.sh]
 *
 *	Copyright (c) 1991-2006 by P. Wessel and W. H. F. Smith
 *	See COPYING file for copying and redistribution conditions.
 *
 *	This program is free software; you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation; version 2 of the License.
 *
 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *	GNU General Public License for more details.
 *
 *	Contact info: gmt.soest.hawaii.edu
 *--------------------------------------------------------------------*/
/*	grdmath_def.h is automatically generated by make_math.sh;
 *	Do NOT edit manually!
 *
 * For backward compatibility:
 */

#define ADD	3
#define DIV	29
#define MUL	78
#define RAISE	87	/* (POW) */
#define SUB	106

/* Declare all functions to return int */

void grd_ABS(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=00 */
void grd_ACOS(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=01 */
void grd_ACOSH(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=02 */
void grd_ADD(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=03 */
void grd_AND(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=04 */
void grd_ASIN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=05 */
void grd_ASINH(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=06 */
void grd_ATAN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=07 */
void grd_ATAN2(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=08 */
void grd_ATANH(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=09 */
void grd_BEI(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=10 */
void grd_BER(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=11 */
void grd_CAZ(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=12 */
void grd_CDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=13 */
void grd_CEIL(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=14 */
void grd_CHICRIT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=15 */
void grd_CHIDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=16 */
void grd_CORRCOEFF(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=17 */
void grd_COS(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=18 */
void grd_COSD(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=19 */
void grd_COSH(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=20 */
void grd_CPOISS(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=21 */
void grd_CURV(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=22 */
void grd_D2DX2(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=23 */
void grd_D2DY2(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=24 */
void grd_D2R(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=25 */
void grd_DDX(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=26 */
void grd_DDY(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=27 */
void grd_DILOG(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=28 */
void grd_DIV(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=29 */
void grd_DUP(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=30 */
void grd_ERF(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=31 */
void grd_ERFC(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=32 */
void grd_ERFINV(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=33 */
void grd_EQ(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=34 */
void grd_EXCH(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=35 */
void grd_EXP(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=36 */
void grd_EXTREMA(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=37 */
void grd_FCRIT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=38 */
void grd_FDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=39 */
void grd_FLIPLR(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=40 */
void grd_FLIPUD(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=41 */
void grd_FLOOR(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=42 */
void grd_FMOD(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=43 */
void grd_GE(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=44 */
void grd_GT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=45 */
void grd_HYPOT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=46 */
void grd_I0(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=47 */
void grd_I1(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=48 */
void grd_IN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=49 */
void grd_INRANGE(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=50 */
void grd_INSIDE(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=51 */
void grd_INV(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=52 */
void grd_ISNAN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=53 */
void grd_J0(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=54 */
void grd_J1(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=55 */
void grd_JN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=56 */
void grd_K0(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=57 */
void grd_K1(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=58 */
void grd_KN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=59 */
void grd_KEI(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=60 */
void grd_KER(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=61 */
void grd_LDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=62 */
void grd_LE(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=63 */
void grd_LMSSCL(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=64 */
void grd_LOG(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=65 */
void grd_LOG10(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=66 */
void grd_LOG1P(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=67 */
void grd_LOG2(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=68 */
void grd_LOWER(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=69 */
void grd_LRAND(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=70 */
void grd_LT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=71 */
void grd_MAD(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=72 */
void grd_MAX(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=73 */
void grd_MEAN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=74 */
void grd_MED(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=75 */
void grd_MIN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=76 */
void grd_MODE(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=77 */
void grd_MUL(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=78 */
void grd_NAN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=79 */
void grd_NEG(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=80 */
void grd_NEQ(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=81 */
void grd_NRAND(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=82 */
void grd_OR(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=83 */
void grd_PDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=84 */
void grd_PLM(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=85 */
void grd_POP(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=86 */
void grd_POW(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=87 */
void grd_R2(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=88 */
void grd_R2D(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=89 */
void grd_RAND(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=90 */
void grd_RINT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=91 */
void grd_ROTX(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=92 */
void grd_ROTY(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=93 */
void grd_SAZ(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=94 */
void grd_SDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=95 */
void grd_SIGN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=96 */
void grd_SIN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=97 */
void grd_SINC(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=98 */
void grd_SIND(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=99 */
void grd_SINH(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=100 */
void grd_SQRT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=101 */
void grd_STD(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=102 */
void grd_STEP(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=103 */
void grd_STEPX(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=104 */
void grd_STEPY(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=105 */
void grd_SUB(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=106 */
void grd_TAN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=107 */
void grd_TAND(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=108 */
void grd_TANH(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=109 */
void grd_TCRIT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=110 */
void grd_TDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=111 */
void grd_TN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=112 */
void grd_UPPER(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=113 */
void grd_XOR(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=114 */
void grd_Y0(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=115 */
void grd_Y1(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=116 */
void grd_YLM(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=117 */
void grd_YN(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=118 */
void grd_ZCRIT(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=119 */
void grd_ZDIST(struct GRDMATH_INFO *info, float *stack[], BOOLEAN *constant, double *factor, int last);		/* id=120 */

/* Declare operator array */

char *operator[GRDMATH_N_OPERATORS] = {
	"ABS",		/* id = 00 */
	"ACOS",		/* id = 01 */
	"ACOSH",		/* id = 02 */
	"ADD",		/* id = 03 */
	"AND",		/* id = 04 */
	"ASIN",		/* id = 05 */
	"ASINH",		/* id = 06 */
	"ATAN",		/* id = 07 */
	"ATAN2",		/* id = 08 */
	"ATANH",		/* id = 09 */
	"BEI",		/* id = 10 */
	"BER",		/* id = 11 */
	"CAZ",		/* id = 12 */
	"CDIST",		/* id = 13 */
	"CEIL",		/* id = 14 */
	"CHICRIT",		/* id = 15 */
	"CHIDIST",		/* id = 16 */
	"CORRCOEFF",		/* id = 17 */
	"COS",		/* id = 18 */
	"COSD",		/* id = 19 */
	"COSH",		/* id = 20 */
	"CPOISS",		/* id = 21 */
	"CURV",		/* id = 22 */
	"D2DX2",		/* id = 23 */
	"D2DY2",		/* id = 24 */
	"D2R",		/* id = 25 */
	"DDX",		/* id = 26 */
	"DDY",		/* id = 27 */
	"DILOG",		/* id = 28 */
	"DIV",		/* id = 29 */
	"DUP",		/* id = 30 */
	"ERF",		/* id = 31 */
	"ERFC",		/* id = 32 */
	"ERFINV",		/* id = 33 */
	"EQ",		/* id = 34 */
	"EXCH",		/* id = 35 */
	"EXP",		/* id = 36 */
	"EXTREMA",		/* id = 37 */
	"FCRIT",		/* id = 38 */
	"FDIST",		/* id = 39 */
	"FLIPLR",		/* id = 40 */
	"FLIPUD",		/* id = 41 */
	"FLOOR",		/* id = 42 */
	"FMOD",		/* id = 43 */
	"GE",		/* id = 44 */
	"GT",		/* id = 45 */
	"HYPOT",		/* id = 46 */
	"I0",		/* id = 47 */
	"I1",		/* id = 48 */
	"IN",		/* id = 49 */
	"INRANGE",		/* id = 50 */
	"INSIDE",		/* id = 51 */
	"INV",		/* id = 52 */
	"ISNAN",		/* id = 53 */
	"J0",		/* id = 54 */
	"J1",		/* id = 55 */
	"JN",		/* id = 56 */
	"K0",		/* id = 57 */
	"K1",		/* id = 58 */
	"KN",		/* id = 59 */
	"KEI",		/* id = 60 */
	"KER",		/* id = 61 */
	"LDIST",		/* id = 62 */
	"LE",		/* id = 63 */
	"LMSSCL",		/* id = 64 */
	"LOG",		/* id = 65 */
	"LOG10",		/* id = 66 */
	"LOG1P",		/* id = 67 */
	"LOG2",		/* id = 68 */
	"LOWER",		/* id = 69 */
	"LRAND",		/* id = 70 */
	"LT",		/* id = 71 */
	"MAD",		/* id = 72 */
	"MAX",		/* id = 73 */
	"MEAN",		/* id = 74 */
	"MED",		/* id = 75 */
	"MIN",		/* id = 76 */
	"MODE",		/* id = 77 */
	"MUL",		/* id = 78 */
	"NAN",		/* id = 79 */
	"NEG",		/* id = 80 */
	"NEQ",		/* id = 81 */
	"NRAND",		/* id = 82 */
	"OR",		/* id = 83 */
	"PDIST",		/* id = 84 */
	"PLM",		/* id = 85 */
	"POP",		/* id = 86 */
	"POW",		/* id = 87 */
	"R2",		/* id = 88 */
	"R2D",		/* id = 89 */
	"RAND",		/* id = 90 */
	"RINT",		/* id = 91 */
	"ROTX",		/* id = 92 */
	"ROTY",		/* id = 93 */
	"SAZ",		/* id = 94 */
	"SDIST",		/* id = 95 */
	"SIGN",		/* id = 96 */
	"SIN",		/* id = 97 */
	"SINC",		/* id = 98 */
	"SIND",		/* id = 99 */
	"SINH",		/* id = 100 */
	"SQRT",		/* id = 101 */
	"STD",		/* id = 102 */
	"STEP",		/* id = 103 */
	"STEPX",		/* id = 104 */
	"STEPY",		/* id = 105 */
	"SUB",		/* id = 106 */
	"TAN",		/* id = 107 */
	"TAND",		/* id = 108 */
	"TANH",		/* id = 109 */
	"TCRIT",		/* id = 110 */
	"TDIST",		/* id = 111 */
	"TN",		/* id = 112 */
	"UPPER",		/* id = 113 */
	"XOR",		/* id = 114 */
	"Y0",		/* id = 115 */
	"Y1",		/* id = 116 */
	"YLM",		/* id = 117 */
	"YN",		/* id = 118 */
	"ZCRIT",		/* id = 119 */
	"ZDIST"		/* id = 120 */
};

