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

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

A range of numbers, separated by a constant interval and between fixed lower and upper bounds.

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: