tuple_tantuple_tanTupleTanTupleTantuple_tan (Operator)

Name

tuple_tantuple_tanTupleTanTupleTantuple_tan — Compute the tangent of a tuple.

Signature

tuple_tan( : : T : Tan)

Herror tuple_tan(double T, double* Tan)

Herror T_tuple_tan(const Htuple T, Htuple* Tan)

void TupleTan(const HTuple& T, HTuple* Tan)

HTuple HTuple::TupleTan() const

static void HOperatorSet.TupleTan(HTuple t, out HTuple tan)

HTuple HTuple.TupleTan()

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

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

Description

tuple_tantuple_tanTupleTanTupleTantuple_tan computes the tangent of the input tuple TTTtt. The tangent is always returned as a floating point number in TanTanTantantan. The angles in TTTtt are represented in radians. The 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_tantuple_tanTupleTanTupleTantuple_tan, which can be used in an expression in the following syntax:

Tan := tan(T)

Execution Information

Parameters

TTTtt (input_control)  angle.rad(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

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

Tangent of the input tuple.

Alternatives

tuple_sintuple_sinTupleSinTupleSintuple_sin, tuple_costuple_cosTupleCosTupleCostuple_cos

See also

tuple_atantuple_atanTupleAtanTupleAtantuple_atan, tuple_atan2tuple_atan2TupleAtan2TupleAtan2tuple_atan2, tuple_tanhtuple_tanhTupleTanhTupleTanhtuple_tanh, tuple_atanhtuple_atanhTupleAtanhTupleAtanhtuple_atanh

Module

Foundation