Matrix.Log Into Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Overload List
Log | Computes the logarithm of the elements of a matrix. |
Log | Computes the logarithm of the elements of a matrix. |
LogInto<T>(Matrix<T>, Matrix<T>)
Computes the logarithm of the elements of a matrix.
public static Matrix<T> LogInto<T>(
Matrix<T> matrix,
Matrix<T>? result
)
Parameters
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are equal to the logarithm of the corresponding element of matrix.
Exceptions
Argument | matrix is null. |
LogInto<T>(Matrix<T>, T, Matrix<T>)
Computes the logarithm of the elements of a matrix.
public static Matrix<T> LogInto<T>(
Matrix<T> matrix,
T newBase,
Matrix<T>? result
)
Parameters
- matrix Matrix<T>
- A matrix.
- newBase T
- The base of the logarithm.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are equal to the logarithm of the corresponding element of matrix.
Exceptions
Argument | matrix is null. |