Jump to navigation

Global variables

Members

hasWarnings :observable|boolean

Does the part have any warnings to show? Changes to false immediately. Only changes to true after a delay if the part is dirty, but immediately if the part is not (i.e. it's just been submitted).

Type:
Source:

Methods

get() → {number}

Proportion of available marks awarded to the student - i.e. score/marks. Penalties will affect this instead of the raw score, because of things like the steps marking algorithm.

Returns:
Type Description
number
Source:

Type Definitions

complex

A complex number.

Properties:
Name Type Description
re number
im number
Source:

fraction

A fraction.

Type:
Properties:
Name Type Description
numerator number
denominator number
Source:

matrix

Properties:
Name Type Description
rows number
columns number
Source:

matrix

A two-dimensional matrix: an array of rows, each of which is an array of numbers.

Type:
Properties:
Name Type Description
rows number

The number of rows in the matrix.

columns number

The number of columns in the matrix.

Source:

range

Type:
Properties:
Name Type Description
0 number

Minimum value

1 number

Maximum value

2 number

Step size

Source:
See:

set

A set of objects: no item occurs more than once.

Type:
Source:

TeX

A LaTeX string.

Type:
Source:

vector

A list of a vector's components.

Type:
Source: