public SquareMatrix Transpose { get; }
Public ReadOnly Property Transpose As SquareMatrix
Get
public:
property SquareMatrix^ Transpose {
SquareMatrix^ get ();
}
member Transpose : SquareMatrix with get
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.