| NMathFunctionsTanh(DoubleVector) Method |
Creates a new vector with the same size as a given vector, whose values are the
result of applying the hyperbolic tangent function to each element of the vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector Tanh(
DoubleVector v
)
Public Shared Function Tanh (
v As DoubleVector
) As DoubleVector
public:
static DoubleVector^ Tanh(
DoubleVector^ v
)
static member Tanh :
v : DoubleVector -> DoubleVector
Parameters
- v DoubleVector
- A vector.
Return Value
DoubleVectorA new vector.
Remarks u[i] = System.Math.Tanh(v[i])
See Also