MuPAD: TeX output bug?

From: Zdenek Hurak (hurak_at_control.felk.cz)
Date: 10/15/04


Date: Fri, 15 Oct 2004 10:01:05 +0200

Hi,

We have trouble with generating TeX output via generate::TeX in
MuPAD. Command generate::TeX works correctly for a matrix of a
domain Dom::Matrix

>> A:=matrix([[s+1, s],[6, s^2-9]])

                       +-               -+
                       |  s + 1,    s    |
                       |                 |
                       |          2      |
                       |    6,   s  - 9  |
                       +-               -+
>> print(Unquoted, generate::TeX(A))

                     \left(\begin{array}{cc}
                     s + 1 & s\\
                     6 & s^2 - 9\\
                     \end{array}\right)

but for a matrix of a type
Dom::Matrix(Dom::DistributedPolynomial([s])) not correct, see
entry B[1, 2]

>> B:=Dom::Matrix(Dom::DistributedPolynomial([s]))([[s+1, s],[6,
s^2-9]])

                       +-               -+
                       |  s + 1,    s    |
                       |                 |
                       |          2      |
                       |    6,   s  - 9  |
                       +-               -+
>> print(Unquoted, generate::TeX(B))

                     \left(\begin{array}{cc}
                     {s} + {1} & {s} + {s}\\
                     {6} & {s}^{2} - {9}\\
                     \end{array}\right)

Is there anything wrong or does command generate::TeX work only
with objects of Dom::Matrix(), DOM_EXPR ? Neither Dom::Matrix()
nor Dom::Matrix(Dom::DistributedPolynomial([s])) is an
arithmetical expression. Why does MuPAD return wrong result and
does not return error if this domain is not supported?

By the way, this feature is very useful with TeXmacs.

Best regards,

Zdenek Hurak and Petr Augusta
Czech Technical University, Prague



Relevant Pages

  • ld.so.1: fatal ImportError: ld.so.1 No such file or directory
    ... you've GOT to finnd the missing file! ... This command above should go in your rc file, eg, ~/.tcshrc, ~/.cshrc, ... If you are still having trouble, ... try section-3 below, but then you're on your own. ...
    (comp.lang.python)
  • Re: "Portable" C compilers?
    ... trouble for running programs which are not approved. ... long as command prompt doesn't appear on the monitor. ... involving computers because for GOOD reasons it is standard practice. ... software and is likely to get the school computers infected. ...
    (comp.lang.c)
  • Re: The Application Failed to Initialize properly (0xc0000022) Click Ok to Terminate the
    ... 2.It is without meaning what you use:command prompt or psexec (above ... there are many difference trouble with permissions in different points ... but if you have x64 system save ...
    (microsoft.public.windows.vista.general)
  • Re: Start up messed up ...
    ... Mark tried your advice:result netchwindsockreset_enter:not recognized as ... "Mark L. Ferguson" wrote: ... > the netsh command in SP2 can rebuild your Winsock. ... >> Daffodills in Trouble! ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: "Portable" C compilers?
    ... trouble for running programs which are not approved. ... long as command prompt doesn't appear on the monitor. ... them all fascists (at a private high school this ... care one way or the other. ...
    (comp.lang.c)