tuple_tantuple_tanTupleTanTupleTantuple_tan (算子名称)
名称
tuple_tantuple_tanTupleTanTupleTantuple_tan — Compute the tangent of a tuple.
参数签名
Herror tuple_tan(double T, double* Tan)
Herror T_tuple_tan(const Htuple T, Htuple* Tan)
def tuple_tan(t: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_tan_s(t: MaybeSequence[Union[float, int]]) -> float
描述
tuple_tantuple_tanTupleTanTupleTanTupleTantuple_tan computes the tangent of the input tuple TTTTtt.
The tangent is always returned as a floating point number in TanTanTanTantantan.
The angles in TTTTtt are represented in radians. The
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_tantuple_tanTupleTanTupleTanTupleTantuple_tan,
which can be used in an expression in the following syntax:
Tan := tan(T)
运行信息
- Multithreading type: independent (runs in parallel even with exclusive operators).
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
TTTTtt (input_control) angle.rad(-array) → HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
TanTanTanTantantan (output_control) number(-array) → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Tangent of the input tuple.
可替代算子
tuple_sintuple_sinTupleSinTupleSinTupleSintuple_sin,
tuple_costuple_cosTupleCosTupleCosTupleCostuple_cos
参考其它
tuple_atantuple_atanTupleAtanTupleAtanTupleAtantuple_atan,
tuple_atan2tuple_atan2TupleAtan2TupleAtan2TupleAtan2tuple_atan2,
tuple_tanhtuple_tanhTupleTanhTupleTanhTupleTanhtuple_tanh,
tuple_atanhtuple_atanhTupleAtanhTupleAtanhTupleAtanhtuple_atanh
模块
Foundation