Difference between revisions of "Mathematical notation recognized by WeBWorK"

From WeBWorK_wiki
Jump to navigation Jump to search
(New page: == Operators == Operators recognized by WeBWorK, in order from highest to lowest precedence. {|border="1" ! Operator || Precedence level || Type || Associativity || Description |- ! <cod...)
 
Line 4: Line 4:
   
 
{|border="1"
 
{|border="1"
! Operator || Precedence level || Type || Associativity || Description
+
! Operator || Prec. || Type || Associativity || Description
 
|-
 
|-
 
! <code>_</code>
 
! <code>_</code>

Revision as of 19:01, 4 March 2008

Operators

Operators recognized by WeBWorK, in order from highest to lowest precedence.

Operator Prec. Type Associativity Description
_ 9 binary left Vector and matrix element extraction.
! 8 unary right Factorial
^ 7 binary right Exponentiation
** 7 binary right Exponentiation
+ 6 unary left Unary plus (indicates that a value is positive)
- 6 unary left Unary minus (indicates that a value is negative)
/ 3 binary left Division
* 3 binary left Multiplication
. 2 binary left Vector dot product
>< 2 binary left Vector cross product
U 1.5 binary left Union
- 1 binary left Subtraction
+ 1 binary left Addition
, 0 binary left List (vector, set, point, etc.) separator