jvm MongoDB request DSL • opensavvy.ktmongo.dsl.aggregation.operators • TrigonometryValueOperators • tanh tanh¶ open fun <Context : Any> tanh(value: Value<Context, Double?>): Value<Context, Double?> The hyperbolic tangent of a value that is measured in radians. If the value is null or NaN, it is returned unchanged. Example¶ class Trigonometry( val name: String, val x: Double, val y: Double, ) collection.aggregate() .set { Trigonometry::y set tanh(of(Trigonometry::x)) } External resources¶ Official documentation