diff --git a/src/Numerics/LinearAlgebra/Matrix.Operators.cs b/src/Numerics/LinearAlgebra/Matrix.Operators.cs
index 55fe4503..ee19f15c 100644
--- a/src/Numerics/LinearAlgebra/Matrix.Operators.cs
+++ b/src/Numerics/LinearAlgebra/Matrix.Operators.cs
@@ -307,13 +307,13 @@ namespace MathNet.Numerics.LinearAlgebra
}
///
- /// Computes the log of a matrix pointwise
+ /// Computes the sqrt of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Log(Matrix x)
+ public static Matrix Sqrt(Matrix x)
{
- return x.PointwiseLog();
+ return x.PointwiseSqrt();
}
///
@@ -327,153 +327,153 @@ namespace MathNet.Numerics.LinearAlgebra
}
///
- /// Computes the absolute value of a matrix pointwise
+ /// Computes the log of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Abs(Matrix x)
+ public static Matrix Log(Matrix x)
{
- return x.PointwiseAbs();
+ return x.PointwiseLog();
}
///
- /// Computes the acos of a matrix pointwise
+ /// Computes the log10 of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Acos(Matrix x)
+ public static Matrix Log10(Matrix x)
{
- return x.PointwiseAcos();
+ return x.PointwiseLog10();
}
///
- /// Computes the asin of a matrix pointwise
+ /// Computes the sin of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Asin(Matrix x)
+ public static Matrix Sin(Matrix x)
{
- return x.PointwiseAsin();
+ return x.PointwiseSin();
}
///
- /// Computes the atan of a matrix pointwise
+ /// Computes the cos of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Atan(Matrix x)
+ public static Matrix Cos(Matrix x)
{
- return x.PointwiseAtan();
+ return x.PointwiseCos();
}
///
- /// Computes the ceiling of a matrix pointwise
+ /// Computes the tan of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Ceiling(Matrix x)
+ public static Matrix Tan(Matrix x)
{
- return x.PointwiseCeiling();
+ return x.PointwiseTan();
}
///
- /// Computes the cos of a matrix pointwise
+ /// Computes the asin of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Cos(Matrix x)
+ public static Matrix Asin(Matrix x)
{
- return x.PointwiseCos();
+ return x.PointwiseAsin();
}
///
- /// Computes the cosh of a matrix pointwise
+ /// Computes the acos of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Cosh(Matrix x)
+ public static Matrix Acos(Matrix x)
{
- return x.PointwiseCosh();
+ return x.PointwiseAcos();
}
///
- /// Computes the floor of a matrix pointwise
+ /// Computes the atan of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Floor(Matrix x)
+ public static Matrix Atan(Matrix x)
{
- return x.PointwiseFloor();
+ return x.PointwiseAtan();
}
///
- /// Computes the log10 of a matrix pointwise
+ /// Computes the sinh of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Log10(Matrix x)
+ public static Matrix Sinh(Matrix x)
{
- return x.PointwiseLog10();
+ return x.PointwiseSinh();
}
///
- /// Computes the rounded value of a matrix pointwise
+ /// Computes the cosh of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Round(Matrix x)
+ public static Matrix Cosh(Matrix x)
{
- return x.PointwiseRound();
+ return x.PointwiseCosh();
}
///
- /// Computes the sin of a matrix pointwise
+ /// Computes the tanh of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Sin(Matrix x)
+ public static Matrix Tanh(Matrix x)
{
- return x.PointwiseSin();
+ return x.PointwiseTanh();
}
///
- /// Computes the sinh of a matrix pointwise
+ /// Computes the absolute value of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Sinh(Matrix x)
+ public static Matrix Abs(Matrix x)
{
- return x.PointwiseSinh();
+ return x.PointwiseAbs();
}
///
- /// Computes the sqrt of a matrix pointwise
+ /// Computes the floor of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Sqrt(Matrix x)
+ public static Matrix Floor(Matrix x)
{
- return x.PointwiseSqrt();
+ return x.PointwiseFloor();
}
///
- /// Computes the tan of a matrix pointwise
+ /// Computes the ceiling of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Tan(Matrix x)
+ public static Matrix Ceiling(Matrix x)
{
- return x.PointwiseTan();
+ return x.PointwiseCeiling();
}
///
- /// Computes the tanh of a matrix pointwise
+ /// Computes the rounded value of a matrix pointwise
///
/// The input matrix
///
- public static Matrix Tanh(Matrix x)
+ public static Matrix Round(Matrix x)
{
- return x.PointwiseTanh();
+ return x.PointwiseRound();
}
}
}
diff --git a/src/Numerics/LinearAlgebra/Vector.Operators.cs b/src/Numerics/LinearAlgebra/Vector.Operators.cs
index ee579cb9..9f8b031c 100644
--- a/src/Numerics/LinearAlgebra/Vector.Operators.cs
+++ b/src/Numerics/LinearAlgebra/Vector.Operators.cs
@@ -273,13 +273,13 @@ namespace MathNet.Numerics.LinearAlgebra
}
///
- /// Computes the log of a vector pointwise
+ /// Computes the sqrt of a vector pointwise
///
/// The input vector
///
- public static Vector Log(Vector x)
+ public static Vector Sqrt(Vector x)
{
- return x.PointwiseUnary(x.PointwiseLog);
+ return x.PointwiseSqrt();
}
///
@@ -293,153 +293,152 @@ namespace MathNet.Numerics.LinearAlgebra
}
///
- /// Computes the absolute value of a vector pointwise
+ /// Computes the log of a vector pointwise
///
/// The input vector
///
- public static Vector Abs(Vector x)
+ public static Vector Log(Vector x)
{
- return x.PointwiseAbs();
+ return x.PointwiseUnary(x.PointwiseLog);
}
-
///
- /// Computes the acos of a vector pointwise
+ /// Computes the log10 of a vector pointwise
///
/// The input vector
///
- public static Vector Acos(Vector x)
+ public static Vector Log10(Vector x)
{
- return x.PointwiseAcos();
+ return x.PointwiseLog10();
}
///
- /// Computes the asin of a vector pointwise
+ /// Computes the sin of a vector pointwise
///
/// The input vector
///
- public static Vector Asin(Vector x)
+ public static Vector Sin(Vector x)
{
- return x.PointwiseAsin();
+ return x.PointwiseSin();
}
///
- /// Computes the atan of a vector pointwise
+ /// Computes the cos of a vector pointwise
///
/// The input vector
///
- public static Vector Atan(Vector x)
+ public static Vector Cos(Vector x)
{
- return x.PointwiseAtan();
+ return x.PointwiseCos();
}
///
- /// Computes the ceiling of a vector pointwise
+ /// Computes the tan of a vector pointwise
///
/// The input vector
///
- public static Vector Ceiling(Vector x)
+ public static Vector Tan(Vector x)
{
- return x.PointwiseCeiling();
+ return x.PointwiseTan();
}
///
- /// Computes the cos of a vector pointwise
+ /// Computes the asin of a vector pointwise
///
/// The input vector
///
- public static Vector Cos(Vector x)
+ public static Vector Asin(Vector x)
{
- return x.PointwiseCos();
+ return x.PointwiseAsin();
}
///
- /// Computes the cosh of a vector pointwise
+ /// Computes the acos of a vector pointwise
///
/// The input vector
///
- public static Vector Cosh(Vector x)
+ public static Vector Acos(Vector x)
{
- return x.PointwiseCosh();
+ return x.PointwiseAcos();
}
///
- /// Computes the floor of a vector pointwise
+ /// Computes the atan of a vector pointwise
///
/// The input vector
///
- public static Vector Floor(Vector x)
+ public static Vector Atan(Vector x)
{
- return x.PointwiseFloor();
+ return x.PointwiseAtan();
}
///
- /// Computes the log10 of a vector pointwise
+ /// Computes the sinh of a vector pointwise
///
/// The input vector
///
- public static Vector Log10(Vector x)
+ public static Vector Sinh(Vector x)
{
- return x.PointwiseLog10();
+ return x.PointwiseSinh();
}
///
- /// Computes the rounded value of a vector pointwise
+ /// Computes the cosh of a vector pointwise
///
/// The input vector
///
- public static Vector Round(Vector x)
+ public static Vector Cosh(Vector x)
{
- return x.PointwiseRound();
+ return x.PointwiseCosh();
}
///
- /// Computes the sin of a vector pointwise
+ /// Computes the tanh of a vector pointwise
///
/// The input vector
///
- public static Vector Sin(Vector x)
+ public static Vector Tanh(Vector x)
{
- return x.PointwiseSin();
+ return x.PointwiseTanh();
}
///
- /// Computes the sinh of a vector pointwise
+ /// Computes the absolute value of a vector pointwise
///
/// The input vector
///
- public static Vector Sinh(Vector x)
+ public static Vector Abs(Vector x)
{
- return x.PointwiseSinh();
+ return x.PointwiseAbs();
}
///
- /// Computes the sqrt of a vector pointwise
+ /// Computes the floor of a vector pointwise
///
/// The input vector
///
- public static Vector Sqrt(Vector x)
+ public static Vector Floor(Vector x)
{
- return x.PointwiseSqrt();
+ return x.PointwiseFloor();
}
///
- /// Computes the tan of a vector pointwise
+ /// Computes the ceiling of a vector pointwise
///
/// The input vector
///
- public static Vector Tan(Vector x)
+ public static Vector Ceiling(Vector x)
{
- return x.PointwiseTan();
+ return x.PointwiseCeiling();
}
///
- /// Computes the tanh of a vector pointwise
+ /// Computes the rounded value of a vector pointwise
///
/// The input vector
///
- public static Vector Tanh(Vector x)
+ public static Vector Round(Vector x)
{
- return x.PointwiseTanh();
+ return x.PointwiseRound();
}
}
}