MathGroup Archive 2013

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

Search the Archive

Re: bug in Print

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131838] Re: bug in Print
  • From: "Barrie Stokes" <Barrie.Stokes at newcastle.edu.au>
  • Date: Wed, 16 Oct 2013 04:58:55 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20131010205057.5B2C26A2D@smc.vnet.net>

Dear MathGroup

I apologise if someone has already suggested the following, which I at least found reassuring.

(Sometimes Mathematica is more general than you expect.)

Clear[i]
mA = {{0, 1, 0}, {0, 0, 1}, {1, 0, 0}};
result = MatrixPower[mA, i];
result // Short
result /. {i -> 3} // FullSimplify

Cheers

Barrie


  • Prev by Date: How it can be known the names of the mathematica functions used in a
  • Next by Date: Exporting "Speak" to an audio file?
  • Previous by thread: ParametricNDSolve for a contact problem
  • Next by thread: Re: bug in Print