Difference between revisions of "Context Function Categories"
Jump to navigation
Jump to search
(Created the page) |
(Add Reference Tables category) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 47: | Line 47: | ||
|} |
|} |
||
+ | |||
+ | See <code>[https://github.com/openwebwork/pg/blob/master/lib/Parser/Context/Default.pm pg/lib/Parser/Context/Default.pm]</code> for the definitions of all the functions, and |
||
+ | <code>[https://github.com/openwebwork/pg/blob/master/lib/Parser/Context/Functions.pm#L55 pg/lib/Parser/Context/Functions.pm]</code> for the code that defines the categories. |
||
+ | |||
+ | <br> |
||
+ | |||
+ | [[Category:Contexts]] |
||
+ | [[Category:MathObjects]] |
||
+ | [[Category:Reference Tables]] |
Latest revision as of 06:59, 13 August 2012
The functions available to be used in student answers are controlled via the functions
object of the current Context. See Answer Checkers and the Context for details about how to enable and disable these functions. This can be done either singly or by categories of functions.
The available function categories are the following:
Category | Functions Included |
---|---|
SimpleTrig
|
sin , cos , tan , sec , csc , cot
|
InverseTrig
|
asin , acos , atan , asec , acsc , acot , arcsin , arccos , arctan , arcsec , arccsc , arccot , atan2
|
SimpleHyperbolic
|
sinh , cosh , tanh , sech , csch , coth
|
InverseHyperbolic
|
asinh , acosh , atanh , asech , acsch , acoth , arcsinh , arccosh , arctanh , arcsech , arccsch , arccoth
|
Numeric
|
log , log10 , exp , sqrt , abs , int , sgn , ln , logten
|
Vector
|
norm , unit
|
Complex
|
arg , mod , Re , Im , conj
|
Hyperbolic
|
all of SimpleHyperbolic and InverseHyperbolic
|
Trig
|
all of SimpleTrig , InverseTrig , and Hyperbolic
|
All
|
all of Trig , Numeric , Vector , and Complex
|
See pg/lib/Parser/Context/Default.pm
for the definitions of all the functions, and
pg/lib/Parser/Context/Functions.pm
for the code that defines the categories.