tuple_sintuple_sinTupleSinTupleSintuple_sin (Operator)
Name
tuple_sintuple_sinTupleSinTupleSintuple_sin
— Compute the sine of a tuple.
Signature
Herror tuple_sin(double T, double* Sin)
Herror T_tuple_sin(const Htuple T, Htuple* Sin)
def tuple_sin(t: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_sin_s(t: MaybeSequence[Union[float, int]]) -> float
Description
tuple_sintuple_sinTupleSinTupleSintuple_sin
computes the sine of the input tuple TTTtt
.
The sine is always returned as a floating point number in SinSinSinsinsin
.
The angles in TTTtt
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_sinTupleSinTupleSintuple_sin
,
which can be used in an expression in the following syntax:
Sin := sin(T)
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
TTTtt
(input_control) angle.rad(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
SinSinSinsinsin
(output_control) number(-array) →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Sine of the input tuple.
Alternatives
tuple_costuple_cosTupleCosTupleCostuple_cos
,
tuple_tantuple_tanTupleTanTupleTantuple_tan
See also
tuple_asintuple_asinTupleAsinTupleAsintuple_asin
,
tuple_sinhtuple_sinhTupleSinhTupleSinhtuple_sinh
,
tuple_asinhtuple_asinhTupleAsinhTupleAsinhtuple_asinh
Module
Foundation