apoc.math.tanh

This function is deprecated. Use Cypher’s tanh() function instead.

Details

Syntax

apoc.math.tanh(value)

Description

Returns the hyperbolic tangent of the given value.

Arguments

Name

Type

Description

value

FLOAT

An angle in radians.

Returns

FLOAT

Usage Examples

The following returns the hyperbolic tangent of a value:

apoc.math.tanh
RETURN apoc.math.tanh(0.7) AS result;
Cypher’s tanh() function
RETURN tanh(0.7) AS result;
Results
result 0.604367777117