Name
tuple_costuple_cosTupleCostuple_cosTupleCosTupleCos — Compute the cosine of a tuple.
Herror tuple_cos(double T, double* Cos)
Herror T_tuple_cos(const Htuple T, Htuple* Cos)
Herror tuple_cos(const HTuple& T, double* Cos)
Herror tuple_cos(const HTuple& T, HTuple* Cos)
tuple_costuple_cosTupleCostuple_cosTupleCosTupleCos computes the cosine of the input tuple TTTTTt.
The cosine is always returned as a floating point number in CosCosCosCosCoscos.
The angles in TTTTTt 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_cosTupleCostuple_cosTupleCosTupleCos,
which can be used in an expression in the following syntax:
Cos := cos(T)
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
TTTTTt (input_control) angle.rad(-array) → HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)
Input tuple.
Cosine of the input tuple.
tuple_sintuple_sinTupleSintuple_sinTupleSinTupleSin,
tuple_tantuple_tanTupleTantuple_tanTupleTanTupleTan
tuple_acostuple_acosTupleAcostuple_acosTupleAcosTupleAcos,
tuple_coshtuple_coshTupleCoshtuple_coshTupleCoshTupleCosh
Foundation