.NET Matrix Library
CEigen Constructor(CMatrix,Boolean)
See Also  Send Feedback



matrix
A CMatrix object representing the complex square matrix whose eigenvalues and optionally its right eigenvectors are to be computed.
rightEigenvectors
boolean value specifying whether the right eigenvectors will be computed.
Creates a new instance of the CEigen class computing the eigenvalues and optionally the right eigenvectors of a general square complex matrix, with preliminary matrix balancing.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal matrix As CMatrix, _
   ByVal rightEigenvectors As Boolean _
)
Visual Basic (Usage)Copy Code
Dim matrix As CMatrix
Dim rightEigenvectors As Boolean
 
Dim instance As New CEigen(matrix, rightEigenvectors)
C# 
public CEigen( 
   CMatrix matrix,
   bool rightEigenvectors
)
C++/CLI 
public:
CEigen( 
   CMatrix^ matrix,
   bool rightEigenvectors
)

Parameters

matrix
A CMatrix object representing the complex square matrix whose eigenvalues and optionally its right eigenvectors are to be computed.
rightEigenvectors
boolean value specifying whether the right eigenvectors will be computed.

Exceptions

ExceptionDescription
NotSquareMatrixExceptionmatrix parameter does not represent a square matrix.

Remarks

Using a false value for the rightEigenvectors parameter allows you to calculate only the eigenvalues in cases where the eigenvectors are not needed.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library