NMath Matrix Reference Guide Version 2.3

DoubleSymmetricMatrix Class

Class DoubleSymmetricMatrix represents a symmetric matrix of double-precision floating point values.

For a list of all members of this type, see DoubleSymmetricMatrix Members.

System.Object
   CenterSpace.NMath.Matrix.DoubleSymmetricMatrix

public class DoubleSymmetricMatrix : ICloneable, ISerializable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

A symmetric matrix is equal to its transpose. In other words, A[i,j] = A[j,i] for all elements i,j in matrix A.
The matrix is stored in a vector column by column. For efficiency, only the upper triangle is stored. For example, the following 5 by 5 symmetric matrix:

    | a00 a01 a02 a03 a04 |
    | a10 a11 a12 a13 a14 |
A = | a20 a21 a22 a23 a24 |
    | a30 a31 a32 a33 a34 |
    | a40 a41 a42 a43 a44 |
is stored in a data vector v as:
v = [a00 a01 a11 a02 a12 a22 a03 a13 a23 a33 a04 a14 a24 a34 a44 ] 
In general, A[i,j] = v[j(j+1)/2+i], i<=j v[i(i+1)/2+j], j<i

Requirements

Namespace: CenterSpace.NMath.Matrix

Assembly: NMathMatrixMain (in NMathMatrixMain.dll)

See Also

DoubleSymmetricMatrix Members | CenterSpace.NMath.Matrix Namespace