The evaluation type eval matrix can be used to check matrices. It does not have automated feedback itself, but instead, the evaluation type fb matrix can be used to give automated negative feedback on the student’s answer.

**Evaluation type: eval matrix**

The Definition field of this evaluation type should have a matrix in the form of a matrix, like `matrix([1,2,3],[4,5,6])`

or in the form of a list of lists, like `[[1,2,3],[4,5,6]]`

.

Example:

When this evaluation type is used in a Solution rule, the evaluation type fb matrix can be used in negative feedback to give automated feedback on the student’s answer.

The student can input the matrix using the buttons on the vector tab of the virtual keyboard.

The button `(mxn)`

can be used to input a matrix of any size. If the student inputs a vector of dimension n, this will be seen as a matrix of dimension 1xn.

**Evaluation type: fb matrix**

This evaluation type can only be used in negative feedback when a solution rule is defined that uses eval matrix. It gives feedback on one of the three cases specified below.

To select a case, type the number of the case (e.g. `4`

) or the name of the case (e.g. `no_matrix`

) in the Definition field. Every case supports automated feedback, and this automated feedback is shown in the examples below. The solution rule that is used is the same as in the image above.

2 (

`wrong_length`

)

The dimensions of the student’s answer and the matrix in the Solution are not the same.

3 (

`wrong_matrix`

)

The dimensions of the student’s answer are right, but the entries of the matrix in the student’s answer are not all correct.

The evaluation type eval matrix element can be used to check specific entries of the matrix in the student’s answer. More information on this evaluation type can be found in the authoring manual.

4 (

`no_matrix`

)

The student’s answer is not seen as a matrix.

**More on evaluation types**

An overview of all evaluation types can be found here (for mathematical answers) and here (for text-based answers). More detail on the different fields of a feedback rule can be found here.