tuple_costuple_cosTupleCosTupleCostuple_cos (算子)

名称

tuple_costuple_cosTupleCosTupleCostuple_cos — 计算一个元组的余弦。

签名

tuple_cos( : : T : Cos)

Herror tuple_cos(double T, double* Cos)

Herror T_tuple_cos(const Htuple T, Htuple* Cos)

void TupleCos(const HTuple& T, HTuple* Cos)

HTuple HTuple::TupleCos() const

static void HOperatorSet.TupleCos(HTuple t, out HTuple cos)

HTuple HTuple.TupleCos()

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

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

描述

tuple_costuple_cosTupleCosTupleCosTupleCostuple_cos 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.

例外:空输入元组

If the input tuple is empty, the operator returns an empty tuple.

HDevelop 内联操作

HDevelop provides an in-line operation for tuple_costuple_cosTupleCosTupleCosTupleCostuple_cos, which can be used in an expression in the following syntax:

Cos := cos(T)

执行信息

参数

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

Input tuple.

CosCosCosCoscoscos (输出控制)  number(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Cosine of the input tuple.

替代

tuple_sintuple_sinTupleSinTupleSinTupleSintuple_sin, tuple_tantuple_tanTupleTanTupleTanTupleTantuple_tan

另见

tuple_acostuple_acosTupleAcosTupleAcosTupleAcostuple_acos, tuple_coshtuple_coshTupleCoshTupleCoshTupleCoshtuple_cosh, tuple_acoshtuple_acoshTupleAcoshTupleAcoshTupleAcoshtuple_acosh

模块

基础