Class DoubleComplexTriDiagMatrix represents a tridiagonal matrix of double-precision
complex numbers. A tridiagonal matrix is a matrix which has all its non-zero
entries on the main diagonal, the super diagonal, and the subdiagonal.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class DoubleComplexTriDiagMatrix : ICloneable |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class DoubleComplexTriDiagMatrix _ Implements ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] public ref class DoubleComplexTriDiagMatrix : ICloneable |
Remarks
The element in the ith row, jth column is defined to be zero
whenever j - i > 1. or i - j > 1.
The matrix is stored in a vector column by column. Zero elements are not stored. There are some blank entries in the data vector so the each column takes up the same number of elements, 3, in the vector. For example, the following 8 by 8 matrix,
CopyC#
is stored in a data vector v as
CopyC#
where x denotes an unused location.
The matrix is stored in a vector column by column. Zero elements are not stored. There are some blank entries in the data vector so the each column takes up the same number of elements, 3, in the vector. For example, the following 8 by 8 matrix,
| a11 a12 0 0 0 0 0 0 | | a21 a22 a23 0 0 0 0 0 | | 0 a32 a33 a34 0 0 0 0 | A = | 0 0 a43 a44 a45 0 0 0 | | 0 0 0 a54 a55 a56 0 0 | | 0 0 0 0 a65 a66 a67 0 | | 0 0 0 0 0 a76 a77 a78 | | 0 0 0 0 0 0 a87 a88 |
v = [x a11 a21
a12 a22 a32
a23 a33 a43
a34 a44 a54
a45 a55 a65
a56 a66 a67
a67 a77 a87
a78 a88 x ]