Solves for the eigenvalues and (optionally) the eigenvectors of a real square matrix.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual void Solve(
	double[,] a,
	bool computeVectors
)
Visual Basic (Declaration)
Public Overridable Sub Solve ( _
	a As Double(,), _
	computeVectors As Boolean _
)
Visual C++
public:
virtual void Solve(
	array<double,2>^ a, 
	bool computeVectors
)

Parameters

a
Type: array< System..::.Double ,2>[,](,)[,]
A double square matrix for which the eigenvalues and (optionally) the eigenvectors are to be found.
computeVectors
Type: System..::.Boolean
A bool value of true if the eigenvectors are to be computed.

Exceptions

ExceptionCondition
Imsl.Math..::.DidNotConvergeException is thrown when the algorithm fails to converge on the eigenvalues of the matrix

See Also