python - scipy / numpy linalg.eigval result interpretation -
i newbie when comes using python libraries numerical tasks. reading paper on lexrank , wanted know how compute eigenvectors of transition matrix. used eigval
function , got result have hard time interpreting:
a = numpy.zeros(shape=(4,4)) a[0,0]=0.333 a[0,1]=0.333 a[0,2]=0 a[0,3]=0.333 a[1,0]=0.25 a[1,1]=0.25 a[1,2]=0.25 a[1,3]=0.25 a[2,0]=0.5 a[2,1]=0.0 a[2,2]=0.0 a[2,3]=0.5 a[3,0]=0.0 a[3,1]=0.333 a[3,2]=0.333 a[3,3]=0.333 print la.eigval(a)
and eigenvalue is:
[ 0.99943032+0.j -0.13278637+0.24189178j -0.13278637-0.24189178j 0.18214242+0.j ]
can please explain j
doing here? isn't eigenvalue supposed scalar quantity? how can interpret result broadly?
j
imaginary number, square root of minus one. in math denoted i
, in engineering, , in python, denoted j
.
Comments
Post a Comment