Jacobi Class

Provides Jacobi eigenvalue algorithm for 3x3 square matrices.

C#
public static class Jacobi
Inheritance
Jacobi

Methods

EigenvaluesAndVectors(float, float, float, float, float, float, float)

Gets the eigenvalues and eigenvectors of the specified symmetric matrix by the Jacobi eigenvalue algorithm.

Methods Detail

EigenvaluesAndVectors(float, float, float, float, float, float, float)

Gets the eigenvalues and eigenvectors of the specified symmetric matrix by the Jacobi eigenvalue algorithm.

C#
public static (Matrix33 D, Matrix33 V) EigenvaluesAndVectors(float threshold, float a11, float a12, float a13, float a22, float a23, float a33)

Parameters

threshold
float

All absolute values of off-diagonal entries in D are less than this threshold.

a11
float

The component (1, 1) of the symmetric matrix.

a12
float

The component (1, 2) of the symmetric matrix.

a13
float

The component (1, 3) of the symmetric matrix.

a22
float

The component (2, 2) of the symmetric matrix.

a23
float

The component (2, 3) of the symmetric matrix.

a33
float

The component (3, 3) of the symmetric matrix.

Returns

The tuple containing a diagonal matrix D and an orthogonal matrix V. The diagonal entries in D and the column vectors in V represent the eigenvalues and eigenvectors of the specified symmetric matrix, respectively.