The set of linear equations:

a_{i}x_{i} = b_{i}
<horizontal gap of 2em>
"for all" symbol i = 1,...,n

can be written as a matrix equation:

diag(**a**)**x** = **b**

where **x** = (x_{1},...,x_{n})^{T},
**b** = (b_{1},...,b_{n})^{T} and

diag(**a**) = [<diagonal matrix>]