I am trying to get the following formula on two lines like this:
\begin{equation}
W \in \mathbf{M}_N \rightarrow W' \in \mathbf{M}_{N+1}\\
(w_{ij})_{1\leq i,j\leq N} \mapsto (w_{ij})_{1\leq i,j\leq N+1}
\text{with} \left\{ \begin{array}{l}
w_{ij} = w_{ij} \quad \text{for} \; 1\leq i,j\leq N \\
w_{i,N+1} = w_{i,k}\\
w_{N+1,i} = w_{k,i}
\end{array} \right.
\end{equation}
I've read about align and align* environments, however I want something in between.
What I want is this thing to be numbered (and to be able to reference it) but only once, as one formula, and what the align environment does is number both lines seperatly (or not at all in align*)
What can I do to make this happen?


