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)
def tuple_tanh(t: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_tanh_s(t: MaybeSequence[Union[float, int]]) -> float
Description
tuple_tanhtuple_tanhTupleTanhTupleTanhtuple_tanh
computes the hyperbolic tangent of the input
tuple TTTtt
. The hyperbolic tangent is always returned as a
floating point number in TanhTanhTanhtanhtanh
. 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_tanhTupleTanhTupleTanhtuple_tanh
,
which can be used in an expression in the following syntax:
Tanh := tanh(T)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
TTTtt
(input_control) number(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
TanhTanhTanhtanhtanh
(output_control) number(-array) →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Hyperbolic tangent of the input tuple.
Alternatives
tuple_sinhtuple_sinhTupleSinhTupleSinhtuple_sinh
,
tuple_coshtuple_coshTupleCoshTupleCoshtuple_cosh
See also
tuple_atanhtuple_atanhTupleAtanhTupleAtanhtuple_atanh
,
tuple_tantuple_tanTupleTanTupleTantuple_tan
,
tuple_atantuple_atanTupleAtanTupleAtantuple_atan
,
tuple_atan2tuple_atan2TupleAtan2TupleAtan2tuple_atan2
Module
Foundation