tuple_degtuple_degTupleDegTupleDegtuple_deg (算子)

名称

tuple_degtuple_degTupleDegTupleDegtuple_deg — 将元组从弧度转换为度数。

签名

tuple_deg( : : Rad : Deg)

Herror tuple_deg(double Rad, double* Deg)

Herror T_tuple_deg(const Htuple Rad, Htuple* Deg)

void TupleDeg(const HTuple& Rad, HTuple* Deg)

HTuple HTuple::TupleDeg() const

static void HOperatorSet.TupleDeg(HTuple rad, out HTuple deg)

HTuple HTuple.TupleDeg()

def tuple_deg(rad: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_deg_s(rad: MaybeSequence[Union[float, int]]) -> float

描述

tuple_degtuple_degTupleDegTupleDegTupleDegtuple_deg converts the input tuple RadRadRadRadradrad from radians to degrees. The result is always returned as a floating point number. The conversion 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_degtuple_degTupleDegTupleDegTupleDegtuple_deg, which can be used in an expression in the following syntax:

Deg := deg(Rad)

执行信息

参数

RadRadRadRadradrad (输入控制)  number(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input tuple.

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

Input tuple in degrees.

另见

tuple_radtuple_radTupleRadTupleRadTupleRadtuple_rad

模块

基础