Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5640 > unrolled thread
| Started by | "Hans Michel" <hmichel@cox.net> |
|---|---|
| First post | 2011-10-14 09:57 +0000 |
| Last post | 2011-10-14 09:57 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: DiagonalizableQ "Hans Michel" <hmichel@cox.net> - 2011-10-14 09:57 +0000
| From | "Hans Michel" <hmichel@cox.net> |
|---|---|
| Date | 2011-10-14 09:57 +0000 |
| Subject | Re: DiagonalizableQ |
| Message-ID | <j79126$i3n$1@smc.vnet.net> |
There is no Mathematica built-in function called " DiagonalizableQ"
It is defined (constructed) just above "DiagonalizableQ[{{0, 1}, {0, 0}}]"
example as
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
];
Hans
-----Original Message-----
From: Jim Kochanski [mailto:jwkochanski@vcu.edu]
Sent: Thursday, October 13, 2011 2:48 AM
Subject: DiagonalizableQ
When I cut and paste "DiagonalizableQ[{{0, 1}, {0, 0}}]"
>From the following, which can be found under Applications at
http://reference.wolfram.com/mathematica/ref/JordanDecomposition.html...
>> Test if a particular matrix is diagonalizable:
>> In[2]:= DiagonalizableQ[{{0, 1}, {0, 0}}]
>> Out[2]= False
I get... Out[2]= DiagonalizableQ[{{0, 1}, {0, 0}}] and not False
Can anyone give me some direction on using DiagonalizableQ?
Thanks!
Sincerely,
Jim
-------------------------------------------------
James W. Kochanski
Cell (804) 647-4675 =E2=86=90 =E2=86=90 =E2=86=90 Preferred
Home (804) 639-2579
jwkochanski@vcu.edu
jkochanski@jtcc.edu
jim@kochanski.us
-------------------------------------------------
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web