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:
Methods
enable()
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 |
Type Definitions
JME
A JME expression.
Type:
complex
A complex number.
Properties:
Name | Type | Description |
---|---|---|
re |
number | The real part. |
im |
number | The imaginary part. |
- Source:
duration
A duration of time.
Type:
Properties:
Name | Type | Description |
---|---|---|
seconds |
number | Number of seconds. |
minutes |
number | Number of minutes. |
hours |
number | Number of hours. |
days |
number | Number of days. |
fraction
A fraction.
Type:
Properties:
Name | Type | Description |
---|---|---|
numerator |
number | The number on top. |
denominator |
number | The number on the bottom. |
fraction_matrix
Type:
Properties:
Name | Type | Description |
---|---|---|
rows |
number | The number of rows in the array. |
columns |
number | The number of columns in the array. |
- Source:
matrix
Type:
Properties:
Name | Type | Description |
---|---|---|
rows |
number | The number of rows in the matrix. |
columns |
number | The number of columns in the matrix. |
- 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. |
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:
vector
A list of a vector's components.