Annotation of capa/capa51/pProj/capaFunction.h, revision 1.8

1.5       albertel    1: /* Constants to identify all CAPA functions
                      2:    Copyright (C) 1992-2000 Michigan State University
                      3: 
                      4:    The CAPA system is free software; you can redistribute it and/or
1.7       albertel    5:    modify it under the terms of the GNU General Public License as
1.5       albertel    6:    published by the Free Software Foundation; either version 2 of the
                      7:    License, or (at your option) any later version.
                      8: 
                      9:    The CAPA system is distributed in the hope that it will be useful,
                     10:    but WITHOUT ANY WARRANTY; without even the implied warranty of
                     11:    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1.7       albertel   12:    General Public License for more details.
1.5       albertel   13: 
1.7       albertel   14:    You should have received a copy of the GNU General Public
1.5       albertel   15:    License along with the CAPA system; see the file COPYING.  If not,
                     16:    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1.6       albertel   17:    Boston, MA 02111-1307, USA.
                     18: 
                     19:    As a special exception, you have permission to link this program
                     20:    with the TtH/TtM library and distribute executables, as long as you
                     21:    follow the requirements of the GNU GPL in regard to all of the
                     22:    software in the executable aside from TtH/TtM.
                     23: */
1.5       albertel   24: 
1.1       albertel   25: /* =||>>================================================================<<||= */
                     26: /* 45678901234567890123456789012345678901234567890123456789012345678901234567 */
                     27: /* =||>>================================================================<<||= */
                     28: 
                     29: #ifndef   CAPA_FUNCTION_H
                     30: #define   CAPA_FUNCTION_H
                     31: 
                     32: #define  RANDOM_F       1
                     33: #define  CHOOSE_F       2
                     34: #define  TEX_F          3
                     35: #define  VAR_IN_TEX_F   4
                     36: #define  PIN_F          5
                     37: #define  CLASS_F        6
                     38: #define  SECTION_F      7
                     39: #define  PROBLEM_F      8
                     40: #define  SET_F          9
                     41: #define  NAME_F         10
                     42: #define  SNUMBER_F      11
                     43: #define  DUE_DATE_F     12
                     44: #define  DUE_DAY_F      13
                     45: #define  OPEN_DATE_F    14
                     46: #define  ANSWER_DATE_F  15
                     47: #define  TO_STRING_F    16
                     48: #define  FORMAT_F       17
                     49: #define  PICK_F         18
                     50: #define  HTML_F         19
                     51: #define  WEB_F          20
                     52: #define  LINK_F         21
                     53: #define  SUB_STRING_F   22
                     54: #define  GET_SEED_F     23
                     55: #define  SET_SEED_F     24
                     56: #define  ARRAY_INDEX_F  25
                     57: #define  ARRAY_SORTED_INDEX_F  26
                     58: #define  DURATION       27
                     59: #define  STRLEN_F       28
                     60: #define  STRCHR_F       29
                     61: #define  WEB_SERVER_F   30
                     62: 
                     63: 
                     64: /* ------------------------ Trigonometry Functions */
                     65: 
                     66: #define  SIN_F          31
                     67: #define  COS_F          32
                     68: #define  TAN_F          33
                     69: #define  ASIN_F         34
                     70: #define  ACOS_F         35
                     71: #define  ATAN_F         36
                     72: #define  SINH_F         37
                     73: #define  COSH_F         38
                     74: #define  TANH_F         39
                     75: #define  ASINH_F        40
                     76: #define  ACOSH_F        41
                     77: #define  ATANH_F        42
                     78: #define  J_ZERO_F       43
                     79: #define  J_ONE_F        44
                     80: #define  J_N_F          45
                     81: #define  Y_ZERO_F       46
                     82: #define  Y_ONE_F        47
                     83: #define  Y_N_F          48
                     84: #define  ATANTWO_F      49
                     85: #define  LOG_F          50
                     86: #define  LOG_TEN_F      51
                     87: #define  EXP_F          52
                     88: #define  POW_F          53
                     89: #define  ERF_F          54
                     90: #define  ERFC_F         55
                     91: #define  SQRT_F         56
                     92: #define  FACTORIAL_F    57
                     93: 
                     94: #define  ARRAY_MIN_F    58
                     95: #define  ARRAY_MAX_F    59
                     96: 
                     97: 
                     98: #define  MIN_F          60
                     99: #define  MAX_F          61
                    100: #define  ABS_F          62
                    101: #define  FLOOR_F        63
                    102: #define  CEIL_F         64
                    103: #define  SGN_F          65
                    104: #define  MOD_F          66
                    105: #define  REMAINDER_F    67
                    106: #define  SIGNIFICANT_F  68
                    107: 
                    108: 
                    109: #define  TO_INT_F           70
                    110: #define  ROUNDTO_F          71
                    111: #define  EVALUATE_F         72
                    112: #define  ARRAY_MOMENTS_F    73
                    113: #define  ARRAY_MEDIUM_F     74
                    114: #define  ARRAY_VARIANCE_F   76
                    115: #define  ARRAY_STD_DEV_F    77
                    116: #define  ARRAY_SKEWNESS_F   78
                    117: #define  ARRAY_INDEX_CNT_F  79
                    118: 
                    119: #define  CAPAID_PLUS    80
                    120: #define  SEAT_NUMBER    81
                    121: #define  IS_OPEN_F      82
                    122: #define  IS_DUE_F       83
                    123: #define  IS_ANSWER_F    84
                    124: #define  FIRSTNAME_F    85
                    125: #define  LASTNAME_F     86
                    126: #define  CLASSPATH_F    87
                    127: #define  CLASSNAME_F    88
1.2       albertel  128: #define  MANAGERMODE_F  89
1.1       albertel  129: 
1.2       albertel  130: #define  CORRECT_F      100
                    131: #define  TRIES_F        101
                    132: #define  GRADE_F        102
1.1       albertel  133: 
1.4       albertel  134: #define  RANDOM_NORMAL_F        103
                    135: #define  RANDOM_BETA_F          104
                    136: #define  RANDOM_GAMMA_F         105
                    137: #define  RANDOM_EXPONENTIAL_F   106
                    138: #define  RANDOM_POISSON_F       107
                    139: #define  RANDOM_CHI_F             108
                    140: #define  RANDOM_NONCENTRAL_CHI_F  109
                    141: 
1.3       albertel  142: 
1.8     ! albertel  143: #define  INIT_ARRAY_F                    110
        !           144: 
        !           145: #define  RANDOM_MULTIVARIATE_NORMAL_F    111
1.3       albertel  146: 
1.1       albertel  147: #define  MIS_ARG_COUNT  97
                    148: #define  MIS_ARG_TYPE   98
                    149: #define  UNKNOWN_F      99
                    150: 
                    151: /*************************************/
                    152: 
                    153: int     match_function( );
                    154: Symbol *do_function();
                    155: 
                    156: #endif  /* CAPA_FUNCTION_H */
                    157: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>