diff --git a/src/Numerics/LinearAlgebra/Matrix.cs b/src/Numerics/LinearAlgebra/Matrix.cs index 42d4877f..500416a3 100644 --- a/src/Numerics/LinearAlgebra/Matrix.cs +++ b/src/Numerics/LinearAlgebra/Matrix.cs @@ -1002,6 +1002,15 @@ namespace MathNet.Numerics.LinearAlgebra return result; } + /// + /// Puts the transpose of this matrix into the result matrix. + /// + /// The transpose of this matrix. + public void Transpose(Matrix result) + { + Storage.TransposeTo(result.Storage, ExistingData.Clear); + } + /// /// Returns the conjugate transpose of this matrix. ///