Matrix.TanhInto<T> Method

Computes the hyperbolic tangent of the elements of a matrix.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static Matrix<T> TanhInto<T>(
	Matrix<T> matrix,
	Matrix<T> result
)

Parameters

matrix  Matrix<T>
A matrix.
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 hyperbolic tangent of the corresponding element of matrix.

Exceptions

ArgumentNullExceptionmatrix is null

See Also