Class DoubleComplexComplexUpperTriMatrix represents an upper triangular matrix of double-precision
complex numbers. An upper triangular matrix is a square matrix with all elements
below the main diagonal equal to zero.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
[SerializableAttribute] public class DoubleComplexUpperTriMatrix : ICloneable |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class DoubleComplexUpperTriMatrix _ Implements ICloneable |
| Visual C++ |
|---|
[SerializableAttribute] public ref class DoubleComplexUpperTriMatrix : ICloneable |
Remarks
The matrix is stored in a vector column by column. For efficiency, zero elements are not stored.
For example, the following 5 by 5 upper triangular matrix:
CopyC#
is stored in a data vector v as:
CopyC#
In general, A[i,j] = v[j(j+1)/2 + i].
| a00 a01 a02 a03 a04 |
| 0 a11 a12 a13 a14 |
A = | 0 0 a22 a23 a24 |
| 0 0 0 a33 a34 |
| 0 0 0 0 a44 |v = [a00 a01 a11 a02 a12 a22 a03 a13 a23 a33 a04 a14 a24 a34 a44 ]