MathGroup Archive 2011

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

Search the Archive

Re: DiagonalizableQ


Evaluate the function definition below first:

DiagonalizableQ[m_?MatrixQ /; Apply[Equal, Dimensions[m]]] :=
  Module[{s, j},
   {s, j} = JordanDecomposition[m];
   Length[
     Cases[ArrayRules[j][[1 ;; -2, 1]], {i_, j_} /; j == i + 1]] == 0
   ];

It is not a built-in function ... which is why the function is defined
in the help page.




  • Prev by Date: MLInitialize MLEnvironment
  • Next by Date: Localizing $Assumptions
  • Previous by thread: Re: DiagonalizableQ
  • Next by thread: Re: DiagonalizableQ