Click or drag to resize

RectangularMatrixTranspose Property

Gets the transpose of the matrix.

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

Property Value

Type: RectangularMatrix

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