tuple_tanhtuple_tanhTupleTanhTupleTanhtuple_tanh (算子名称)
名称
tuple_tanhtuple_tanhTupleTanhTupleTanhtuple_tanh — Compute the hyperbolic tangent of a tuple.
参数签名
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
描述
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, 该算子 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)
运行信息
- Multithreading type: independent (runs in parallel even with exclusive operators).
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
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.
可替代算子
tuple_sinhtuple_sinhTupleSinhTupleSinhTupleSinhtuple_sinh,
tuple_coshtuple_coshTupleCoshTupleCoshTupleCoshtuple_cosh
参考其它
tuple_atanhtuple_atanhTupleAtanhTupleAtanhTupleAtanhtuple_atanh,
tuple_tantuple_tanTupleTanTupleTanTupleTantuple_tan,
tuple_atantuple_atanTupleAtanTupleAtanTupleAtantuple_atan,
tuple_atan2tuple_atan2TupleAtan2TupleAtan2TupleAtan2tuple_atan2
模块
Foundation