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



matrix
A CMatrix object representing the complex square matrix whose eigenvalues and optionally its right and/or left eigenvectors are to be computed.
rightEigenvectors
A boolean value specifying whether the right eigenvectors will be computed.
leftEigenvectors
A boolean value specifying whether the left eigenvectors will be computed.
Creates a new instance of the CEigen class computing the eigenvalues and optionally the right and/or the left 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, _
   ByVal leftEigenvectors As Boolean _
)
Visual Basic (Usage)Copy Code
Dim matrix As CMatrix
Dim rightEigenvectors As Boolean
Dim leftEigenvectors As Boolean
 
Dim instance As New CEigen(matrix, rightEigenvectors, leftEigenvectors)
C# 
public CEigen( 
   CMatrix matrix,
   bool rightEigenvectors,
   bool leftEigenvectors
)
C++/CLI 
public:
CEigen( 
   CMatrix^ matrix,
   bool rightEigenvectors,
   bool leftEigenvectors
)

Parameters

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

Exceptions

ExceptionDescription
NotSquareMatrixExceptionmatrix parameter does not represent a square matrix.

Remarks

This constructor allows you to specify which of the right and/or left eigenvectors will be computed.

Requirements

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

See Also

.NET Matrix Library