tuple_radtuple_radTupleRadTupleRadtuple_rad (Operator)
Name
tuple_radtuple_radTupleRadTupleRadtuple_rad
— Convert a tuple from degrees to radians.
Signature
Herror tuple_rad(double Deg, double* Rad)
Herror T_tuple_rad(const Htuple Deg, Htuple* Rad)
def tuple_rad(deg: MaybeSequence[Union[float, int]]) -> Sequence[float]
def tuple_rad_s(deg: MaybeSequence[Union[float, int]]) -> float
Description
tuple_radtuple_radTupleRadTupleRadtuple_rad
converts the input tuple DegDegDegdegdeg
from degrees
to radians. The result is always returned as a floating point
number. The conversion 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_radtuple_radTupleRadTupleRadtuple_rad
,
which can be used in an expression in the following syntax:
Rad := rad(Deg)
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
DegDegDegdegdeg
(input_control) number(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input tuple.
RadRadRadradrad
(output_control) number(-array) →
HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Input tuple in radians.
See also
tuple_degtuple_degTupleDegTupleDegtuple_deg
Module
Foundation