MathGroup Archive 2013

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

Search the Archive

Re: bug in Print


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