tuple_sintuple_sinTupleSinTupleSintuple_sin (Operator)


tuple_sintuple_sinTupleSinTupleSintuple_sin — Compute the sine of a tuple.


tuple_sin( : : T : Sin)

Herror tuple_sin(double T, double* Sin)

Herror T_tuple_sin(const Htuple T, Htuple* Sin)

void TupleSin(const HTuple& T, HTuple* Sin)

HTuple HTuple::TupleSin() const

static void HOperatorSet.TupleSin(HTuple t, out HTuple sin)

HTuple HTuple.TupleSin()

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

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


tuple_sintuple_sinTupleSinTupleSinTupleSintuple_sin computes the sine of the input tuple TTTTtt. The sine is always returned as a floating point number in SinSinSinSinsinsin. The angles in TTTTtt are represented in radians. The sine 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_sintuple_sinTupleSinTupleSinTupleSintuple_sin, which can be used in an expression in the following syntax:

Sin := sin(T)

Execution Information


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

Input tuple.

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

Sine of the input tuple.


tuple_costuple_cosTupleCosTupleCosTupleCostuple_cos, tuple_tantuple_tanTupleTanTupleTanTupleTantuple_tan

See also

tuple_asintuple_asinTupleAsinTupleAsinTupleAsintuple_asin, tuple_sinhtuple_sinhTupleSinhTupleSinhTupleSinhtuple_sinh, tuple_asinhtuple_asinhTupleAsinhTupleAsinhTupleAsinhtuple_asinh