-- Feb 14 In-Class Exercise Thread
If we have a matrix `[[a,b],[c,d]]`, if any of the values are different to each other, there may be a race condition.
In the example below, we will face a race condition:
`[[1,2],[3,3]] * [1,1]`
If we have a matrix `[[a,b],[c,d]]`, `a`, `b`, `c` and `d` should all be the same value. In this case, there would not be a race condition
(
Edited: 2018-02-14)
If we have a matrix @BT@[[a,b],[c,d]]@BT@, if any of the values are different to each other, there may be a race condition.
----
In the example below, we will face a race condition:
@BT@[[1,2],[3,3]] * [1,1]@BT@
----
If we have a matrix @BT@[[a,b],[c,d]]@BT@, @BT@a@BT@, @BT@b@BT@, @BT@c@BT@ and @BT@d@BT@ should all be the same value. In this case, there would not be a race condition