Skip to content

tuple_tanhTupleTanhTupleTanhtuple_tanhtuple_tanh🔗

Short description🔗

tuple_tanhTupleTanhTupleTanhtuple_tanhtuple_tanh — Compute the hyperbolic tangent of a tuple.

Signature🔗

tuple_tanh( number T, out number Tanh )void TupleTanh( const HTuple& T, HTuple* Tanh )static void HOperatorSet.TupleTanh( HTuple t, out HTuple tanh )def tuple_tanh( t: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_tanh_s( t: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_tanh( double T, double* Tanh )

Herror T_tuple_tanh( const Htuple T, Htuple* Tanh )

HTuple HTuple::TupleTanh( ) const

HTuple HTuple.TupleTanh( )

Description🔗

tuple_tanhTupleTanh computes the hyperbolic tangent of the input tuple Ttt. The hyperbolic tangent is always returned as a floating point number in Tanhtanhtanh. 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_tanhTupleTanh, which can be used in an expression in the following syntax:

Tanh := tanh(T)

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Ttt (input_control) number(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Input tuple.

Tanhtanhtanh (output_control) number(-array) → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Hyperbolic tangent of the input tuple.

Combinations with other operators🔗

Combinations

Alternatives

tuple_sinhTupleSinh, tuple_coshTupleCosh

See also

tuple_atanhTupleAtanh, tuple_tanTupleTan, tuple_atanTupleAtan, tuple_atan2TupleAtan2

Module🔗

Foundation