Click or drag to resize

TridiagonalMatrixTranspose Property

Creates a transpose of the matrix.

Namespace:  Meta.Numerics.Matrices
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
public TridiagonalMatrix Transpose { get; }

Property Value

Type: TridiagonalMatrix
The matrix transpose MT.

The returned transpose matrix is not independent of the original matrix. Instead, it is a read-only view into the same storage as the original matrix with row an column indices reversed. This has the advantage that is can be produced with almost no time and memory cost. It has the disadvantage that any subsequent changes to the original matrix will be reflected in the returned transpose, which might not be what you expected. If you want an independent, write-able transpose matrix, call Copy on the returned matrix.

See Also