IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
Represents a collection of real eigenvalues and eigenvectors. More...
Public Member Functions | |
double | Eigenvalue (int n) |
Gets a specified eigenvalue. More... | |
ColumnVector | Eigenvector (int n) |
Gets a specified eigenvector. More... | |
SquareMatrix | TransformMatrix () |
Gets the transformation matrix that diagonalizes the original matrix. More... | |
Properties | |
int | Dimension [get] |
Gets the dimension of the eigensystem. More... | |
Private Attributes | |
readonly int | dimension |
readonly double[] | eigenvalues |
readonly double[] | eigenvectorStorage |
Represents a collection of real eigenvalues and eigenvectors.
|
inline |
Gets a specified eigenvalue.
n | The (zero-based) index of the eigenvalue. |
Referenced by Test.SymmetricMatrixTest.SymmetricRandomMatrixEigenvectors().
|
inline |
Gets a specified eigenvector.
n | The (zero-based) index of the eigenvector. |
The returned vector is read-only. If you need to make changes to it, you can call ColumnVector.Copy to obtain a writable copy.
Referenced by Test.SymmetricMatrixTest.SymmetricRandomMatrixEigenvectors().
|
inline |
Gets the transformation matrix that diagonalizes the original matrix.
The returned matrix is read-only. If you need to make changes to it, you can call SquareMatrix.Copy to obtain a writable copy.
Referenced by Test.SymmetricMatrixTest.SymmetricRandomMatrixEigenvectors().
|
private |
|
private |
|
private |
|
get |
Gets the dimension of the eigensystem.
Referenced by Test.SymmetricMatrixTest.SymmetricRandomMatrixEigenvectors().