latex syntax

Need curly braces on arg to \begin, need arg to \right
This commit is contained in:
Barak A. Pearlmutter
2018-08-02 21:20:49 -04:00
committed by Ryan Curtin
parent c7ec18f16c
commit a160376044
@@ -27,11 +27,11 @@ namespace ann /**Artificial Neural Network*/ {
* @f{eqnarray*}{
* f(x) &=& \max(0,x)+alpha \\
* f'(x) &=& \left\{
* \begin(array){lr}
* \begin{array}{lr}
* 1 & : x > 0 \\
* 0 & : x \le 0
* \end{array}
* \right
* \right.
* @f}
*
* For more information, read the following paper: