matrix in \frac{}{}

Richard B. Kreckel kreckel at
Tue Feb 17 21:59:33 CET 2004


On Mon, 16 Feb 2004, Bodo Steiner wrote:

> Hi, I'm trying to get this running, but it won't ... how can I have a
> matrix in the following formula:
> \begin{equation}
> \alpha^{\star}=\frac{\mbox{\boldmath$z$}^{T}\mbox{\boldmath$\Lambda$}
> \mbox{\boldmath$\Sigma$}}{\mbox{\boldmath$z$}^{T}\mbox{\boldmath$\Lambda$}
> \begin{bmatrix}-\mbox{\boldmath$K$}_{1}^{-1}&0\\
> 0&\mbox{\boldmath$K$}_{2}^{-1}
>   \end{bmatrix}\mbox{\boldmath$\Lambda$}^{T}\mbox{\boldmath$z$}
>   +r\mbox{\boldmath$z$}^{T}\mbox{\boldmath$\Lambda$}
>   \mbox{\boldmath$\Sigma$}\mbox{\boldmath$\Lambda$}^{T}{\mbox{\boldmath$z$}}
> \end{equation}

You may heve sent this to the wrong list.  I doubt that this output has
been generated with GiNaC.  Anyways, you should always send self-contained
examples when asking for help and not assume that people guess that they
want to use package amsmath.  ;-)


PS: There is a closing brace missing at the end of the second line within
    the equation.
Richard B. Kreckel
<Richard.Kreckel at GiNaC.DE>

More information about the GiNaC-list mailing list