Annotation of loncom/html/adm/help/tex/Script_Functions.tex, revision 1.7

1.1       bowersj2    1: \label{Script_Functions}
                      2: 
                      3: 
1.2       vandui11    4: This is a list of functions that have been written that are available in the
                      5: Safe space scripting environment inside a problem: 
1.1       bowersj2    6: 
                      7: \begin{itemize}
                      8: \item sin(x), cos(x), tan(x) 
                      9: \item asin(x), acos(x), atan(x), atan2(y,x) 
                     10: \item log(x), log10(x) 
                     11: \item exp(), pow(x,y), sqrt(x) 
                     12: \item abs(x), sgn(x) 
                     13: \item erf(x), erfc(x) 
                     14: \item ceil(x), floor(x) 
                     15: \item min(...), max(...) 
                     16: \item factorial(n) 
                     17: \item N\%M (modulo function)
                     18: \item sinh(x), cosh(x), tanh(x) 
                     19: \item asinh(x), acosh(x), atanh(x) 
1.6       www        20: \item roundto(x,n)
                     21: \item cas(s,e) 
1.1       bowersj2   22: \item web({}``a'',''b'',''c'') or web(a,b,c) 
                     23: \item html({}``a'') or html(a) 
                     24: \item j0(x), j1(x), jn(n,x), jv(y,x) 
                     25: \item y0(x), y1(x), yn(n,x), yv(y,x) 
                     26: \item random 
                     27: \item choose 
                     28: \item tex({}``a'',''b'') or tex(a,b) 
                     29: \item var\_in\_tex(a) 
                     30: \item to\_string(x), to\_string(x,y) 
1.5       www        31: \item class(), sec() 
                     32: \item name(), firstname(), lastname(), student\_number()
1.3       albertel   33: \item check\_status(partid)
1.1       bowersj2   34: \item open\_date(), due\_date(), answer\_date() 
                     35: \item sub\_string() 
                     36: \item array\_moments(array) 
1.3       albertel   37: \item format(x,y),prettyprint(x,y,target),dollarformat(x,target) 
1.7     ! albertel   38: \item languages
1.1       bowersj2   39: \item map(...) 
                     40: \item caparesponse\_check 
                     41: \item caparesponse\_check\_list
                     42: \end{itemize}
                     43: 
                     44: 
1.4       albertel   45: We also support these functions from Math::Cephes 
                     46: \begin{verbatim}
1.1       bowersj2   47: 
                     48:  bdtr:  Binomial distribution
                     49:  bdtrc:  Complemented binomial distribution
                     50:  bdtri:  Inverse binomial distribution
                     51:  btdtr:  Beta distribution
                     52:  chdtr:  Chi-square distribution
                     53:  chdtrc:  Complemented Chi-square distribution
                     54:  chdtri:  Inverse of complemented Chi-square distribution
                     55:  fdtr:  F distribution
                     56:  fdtrc:  Complemented F distribution
                     57:  fdtri:  Inverse of complemented F distribution
                     58:  gdtr:  Gamma distribution function
                     59:  gdtrc:  Complemented gamma distribution function
                     60:  nbdtr:  Negative binomial distribution
                     61:  nbdtrc:  Complemented negative binomial distribution
                     62:  nbdtri:  Functional inverse of negative binomial distribution
                     63:  ndtr:  Normal distribution function
                     64:  ndtri:  Inverse of Normal distribution function
                     65:  pdtr:  Poisson distribution
                     66:  pdtrc:  Complemented poisson distribution
                     67:  pdtri:  Inverse Poisson distribution
                     68:  stdtr:  Student's t distribution
                     69:  stdtri:  Functional inverse of Student's t distribution
                     70: 
1.4       albertel   71: \end{verbatim}
                     72: 
                     73:  Please see Math::Cephes for more information 
1.1       bowersj2   74: 

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