tuple_radtuple_radTupleRadTupleRadtuple_rad (算子)

名称

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

签名

tuple_rad( : : Deg : Rad)

Herror tuple_rad(double Deg, double* Rad)

Herror T_tuple_rad(const Htuple Deg, Htuple* Rad)

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

HTuple HTuple::TupleRad() const

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

HTuple HTuple.TupleRad()

def tuple_rad(deg: MaybeSequence[Union[float, int]]) -> Sequence[float]

def tuple_rad_s(deg: MaybeSequence[Union[float, int]]) -> float

描述

tuple_radtuple_radTupleRadTupleRadTupleRadtuple_rad converts the input tuple DegDegDegDegdegdeg from degrees to radians. 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_radtuple_radTupleRadTupleRadTupleRadtuple_rad, which can be used in an expression in the following syntax:

Rad := rad(Deg)

执行信息

参数

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

Input tuple.

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

Input tuple in radians.

另见

tuple_degtuple_degTupleDegTupleDegTupleDegtuple_deg

模块

基础