Skip to content

tuple_tanTupleTanTupleTantuple_tantuple_tan🔗

Short description🔗

tuple_tanTupleTanTupleTantuple_tantuple_tan — Compute the tangent of a tuple.

Signature🔗

tuple_tan( angle.rad T, out number Tan )void TupleTan( const HTuple& T, HTuple* Tan )static void HOperatorSet.TupleTan( HTuple t, out HTuple tan )def tuple_tan( t: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_tan_s( t: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_tan( double T, double* Tan )

Herror T_tuple_tan( const Htuple T, Htuple* Tan )

HTuple HTuple::TupleTan( ) const

HTuple HTuple.TupleTan( )

Description🔗

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

Tan := tan(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) angle.rad(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Input tuple.

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

Tangent of the input tuple.

Combinations with other operators🔗

Combinations

Alternatives

tuple_sinTupleSin, tuple_cosTupleCos

See also

tuple_atanTupleAtan, tuple_atan2TupleAtan2, tuple_tanhTupleTanh, tuple_atanhTupleAtanh

Module🔗

Foundation