tuple_tanhtuple_tanhTupleTanhTupleTanhtuple_tanh (Operator)

Name

tuple_tanhtuple_tanhTupleTanhTupleTanhtuple_tanh — Compute the hyperbolic tangent of a tuple.

Signature

tuple_tanh( : : T : Tanh)

Herror tuple_tanh(double T, double* Tanh)

Herror T_tuple_tanh(const Htuple T, Htuple* Tanh)

void TupleTanh(const HTuple& T, HTuple* Tanh)

HTuple HTuple::TupleTanh() const

static void HOperatorSet.TupleTanh(HTuple t, out HTuple tanh)

HTuple HTuple.TupleTanh()

def tuple_tanh(t: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_tanh_s(t: MaybeSequence[Union[float, int]]) -> float

Description

tuple_tanhtuple_tanhTupleTanhTupleTanhTupleTanhtuple_tanh computes the hyperbolic tangent of the input tuple TTTTtt. The hyperbolic tangent is always returned as a floating point number in TanhTanhTanhTanhtanhtanh. The hyperbolic tangent of a string is not allowed.

Exception: Empty input tuple

If the input tuple is empty, the operator returns an empty tuple.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_tanhtuple_tanhTupleTanhTupleTanhTupleTanhtuple_tanh, which can be used in an expression in the following syntax:

Tanh := tanh(T)

Execution Information

Parameters

TTTTtt (input_control)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

TanhTanhTanhTanhtanhtanh (output_control)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Hyperbolic tangent of the input tuple.

Alternatives

tuple_sinhtuple_sinhTupleSinhTupleSinhTupleSinhtuple_sinh, tuple_coshtuple_coshTupleCoshTupleCoshTupleCoshtuple_cosh

See also

tuple_atanhtuple_atanhTupleAtanhTupleAtanhTupleAtanhtuple_atanh, tuple_tantuple_tanTupleTanTupleTanTupleTantuple_tan, tuple_atantuple_atanTupleAtanTupleAtanTupleAtantuple_atan, tuple_atan2tuple_atan2TupleAtan2TupleAtan2TupleAtan2tuple_atan2

Module

Foundation