Eig

From VLECK
Jump to: navigation, search

Calculates the EigenValue and EigenVector

Syntax

return = Eig(Values);

Return value

Eig returns a structure with the EigenValue as the first elemet and the EigenVector as the second element.

Parameters

Values matrix with numerical values


Example

m
2	1
1	2


Eig(m)
[1] : Value	[2] : Vector	[3] : PerformanceIndex

Eig(m)[1]
3.000000
1.000000


Eig(m)[2]
0.707107	0.707107
0.707107	-0.707107