/*--------------------------------------------------------------------
 *
 *	grdmath_def.h [Generated by make_math.sh]
 *
 *	Copyright (c) 1991-2004 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	27
#define MUL	76
#define RAISE	85	/* (POW) */
#define SUB	104

/* Declare all functions to return int */

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

/* Declare operator array */

char *operator[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 */
	"COS",		/* id = 17 */
	"COSD",		/* id = 18 */
	"COSH",		/* id = 19 */
	"CURV",		/* id = 20 */
	"D2DX2",		/* id = 21 */
	"D2DY2",		/* id = 22 */
	"D2R",		/* id = 23 */
	"DDX",		/* id = 24 */
	"DDY",		/* id = 25 */
	"DILOG",		/* id = 26 */
	"DIV",		/* id = 27 */
	"DUP",		/* id = 28 */
	"ERF",		/* id = 29 */
	"ERFC",		/* id = 30 */
	"ERFINV",		/* id = 31 */
	"EQ",		/* id = 32 */
	"EXCH",		/* id = 33 */
	"EXP",		/* id = 34 */
	"EXTREMA",		/* id = 35 */
	"FCRIT",		/* id = 36 */
	"FDIST",		/* id = 37 */
	"FLIPLR",		/* id = 38 */
	"FLIPUD",		/* id = 39 */
	"FLOOR",		/* id = 40 */
	"FMOD",		/* id = 41 */
	"GE",		/* id = 42 */
	"GT",		/* id = 43 */
	"HYPOT",		/* id = 44 */
	"I0",		/* id = 45 */
	"I1",		/* id = 46 */
	"IN",		/* id = 47 */
	"INRANGE",		/* id = 48 */
	"INSIDE",		/* id = 49 */
	"INV",		/* id = 50 */
	"ISNAN",		/* id = 51 */
	"J0",		/* id = 52 */
	"J1",		/* id = 53 */
	"JN",		/* id = 54 */
	"K0",		/* id = 55 */
	"K1",		/* id = 56 */
	"KN",		/* id = 57 */
	"KEI",		/* id = 58 */
	"KER",		/* id = 59 */
	"LDIST",		/* id = 60 */
	"LE",		/* id = 61 */
	"LMSSCL",		/* id = 62 */
	"LOG",		/* id = 63 */
	"LOG10",		/* id = 64 */
	"LOG1P",		/* id = 65 */
	"LOG2",		/* id = 66 */
	"LOWER",		/* id = 67 */
	"LRAND",		/* id = 68 */
	"LT",		/* id = 69 */
	"MAD",		/* id = 70 */
	"MAX",		/* id = 71 */
	"MEAN",		/* id = 72 */
	"MED",		/* id = 73 */
	"MIN",		/* id = 74 */
	"MODE",		/* id = 75 */
	"MUL",		/* id = 76 */
	"NAN",		/* id = 77 */
	"NEG",		/* id = 78 */
	"NEQ",		/* id = 79 */
	"NRAND",		/* id = 80 */
	"OR",		/* id = 81 */
	"PDIST",		/* id = 82 */
	"PLM",		/* id = 83 */
	"POP",		/* id = 84 */
	"POW",		/* id = 85 */
	"R2",		/* id = 86 */
	"R2D",		/* id = 87 */
	"RAND",		/* id = 88 */
	"RINT",		/* id = 89 */
	"ROTX",		/* id = 90 */
	"ROTY",		/* id = 91 */
	"SAZ",		/* id = 92 */
	"SDIST",		/* id = 93 */
	"SIGN",		/* id = 94 */
	"SIN",		/* id = 95 */
	"SINC",		/* id = 96 */
	"SIND",		/* id = 97 */
	"SINH",		/* id = 98 */
	"SQRT",		/* id = 99 */
	"STD",		/* id = 100 */
	"STEP",		/* id = 101 */
	"STEPX",		/* id = 102 */
	"STEPY",		/* id = 103 */
	"SUB",		/* id = 104 */
	"TAN",		/* id = 105 */
	"TAND",		/* id = 106 */
	"TANH",		/* id = 107 */
	"TCRIT",		/* id = 108 */
	"TDIST",		/* id = 109 */
	"UPPER",		/* id = 110 */
	"XOR",		/* id = 111 */
	"Y0",		/* id = 112 */
	"Y1",		/* id = 113 */
	"YLM",		/* id = 114 */
	"YN",		/* id = 115 */
	"ZCRIT"		/* id = 116 */
};

