TeX source:
e_i = y_i - \left(m_1 x_{i,1} + \dots + m_{p} x_{i,p} +c \right)