tuple_costuple_cosTupleCosTupleCos (Operator)
Name
tuple_costuple_cosTupleCosTupleCos
— Compute the cosine of a tuple.
Signature
Herror tuple_cos(double T, double* Cos)
Herror T_tuple_cos(const Htuple T, Htuple* Cos)
Description
tuple_costuple_cosTupleCosTupleCosTupleCos
computes the cosine of the input tuple TTTTt
.
The cosine is always returned as a floating point number in CosCosCosCoscos
.
The angles in TTTTt
are represented in radians. The
cosine 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_costuple_cosTupleCosTupleCosTupleCos
,
which can be used in an expression in the following syntax:
Cos := cos(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) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
CosCosCosCoscos
(output_control) number(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Cosine of the input tuple.
Alternatives
tuple_sintuple_sinTupleSinTupleSinTupleSin
,
tuple_tantuple_tanTupleTanTupleTanTupleTan
See also
tuple_acostuple_acosTupleAcosTupleAcosTupleAcos
,
tuple_coshtuple_coshTupleCoshTupleCoshTupleCosh
,
tuple_acoshtuple_acoshTupleAcoshTupleAcoshTupleAcosh
Module
Foundation