Matrix.Tanh Into<T> Method
Computes the hyperbolic tangent of the elements of a matrix.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A matrix whose elements are equal to the hyperbolic tangent of the corresponding element of matrix.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public static Matrix<T> TanhInto<T>(
Matrix<T> matrix,
Matrix<T>? result
)
Parameters
Type Parameters
- T
Return Value
Matrix<T>A matrix whose elements are equal to the hyperbolic tangent of the corresponding element of matrix.
Exceptions
Argument | matrix is null. |