Click or drag to resize

NMathFunctionsTanh(DoubleMatrix) Method

Creates a new matrix with the same dimensions as a given matrix, whose values are the result of applying the hyperbolic tangent function to each element of the matrix.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleMatrix Tanh(
	DoubleMatrix A
)

Parameters

A  DoubleMatrix
A matrix.

Return Value

DoubleMatrix
A new matrix.
Remarks
B[i,j] = System.Math.Tanh(A[i,j])
See Also