MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Multiplication of matrices

  • To: mathgroup at
  • Subject: [mg89155] Re: Multiplication of matrices
  • From: "David Park" <djmpark at>
  • Date: Tue, 27 May 2008 07:15:33 -0400 (EDT)
  • References: <g1di51$9r5$>

If you have the Presentations package, you can use the LinearBreakout


{A.(-B), A.(5 B), A.(p B + q C)}
% // LinearBreakout[Dot][A, B, C]
{A.(-B), A.(5 B), A.(B p + C q)}
{-A.B, 5 A.B, p A.B + q A.C}

David Park
djmpark at

"Tom=E1s Proch=E1zka" <proct2am at> wrote in message
news:g1di51$9r5$1 at
> Hi,
> does anyone know how to simplify expressions like
> A.((-1)*B)
> or A.(5B)
> with A and B (general) matrices to expressions like
> -A.B
> 5 A.B
> I am sorry for such a stupid question :-) Thanks!
> Tomas

  • Prev by Date: Soundnote, musical instruments playing at arbitrary pitch
  • Next by Date: Re: Integrate vs NIntegrate
  • Previous by thread: Re: Multiplication of matrices
  • Next by thread: NDSolve from negative to positive time