ConstantMatrix<T>.Transpose Method

Returns the transpose of this instance.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public override Matrix<T> Transpose()

Return Value

Matrix<T>
A Matrix<T> representing the transpose of this matrix.

Remarks

The transpose of a matrix is the matrix with rows and columns exchanged. The transpose of a matrix with m rows and n columns is a matrix with n rows and m columns.

The matrix returned by this method shares its component storage with the original matrix. To give the return value its own copy of the components, call its CloneData() method.

See Also