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

Namespace: CenterSpace.NMath.Matrix

# Syntax

C#
```[SerializableAttribute]
public class DoubleSymmetricMatrix : ICloneable```
Visual Basic
```<SerializableAttribute> _
Public Class DoubleSymmetricMatrix _
Implements ICloneable```
Visual C++
```[SerializableAttribute]
public ref class DoubleSymmetricMatrix : ICloneable```

# 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:
Copy
```    | 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:
Copy
`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

# Inheritance Hierarchy

System..::..Object
CenterSpace.NMath.Matrix..::..DoubleSymmetricMatrix
CenterSpace.NMath.Stats..::..ConnectivityMatrix