Skip to content

tuple_degTupleDegTupleDegtuple_degtuple_deg🔗

Short description🔗

tuple_degTupleDegTupleDegtuple_degtuple_deg — Convert a tuple from radians to degrees.

Signature🔗

tuple_deg( number Rad, out number Deg )void TupleDeg( const HTuple& Rad, HTuple* Deg )static void HOperatorSet.TupleDeg( HTuple rad, out HTuple deg )def tuple_deg( rad: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_deg_s( rad: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_deg( double Rad, double* Deg )

Herror T_tuple_deg( const Htuple Rad, Htuple* Deg )

HTuple HTuple::TupleDeg( ) const

HTuple HTuple.TupleDeg( )

Description🔗

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

Deg := deg(Rad)

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

Radradrad (input_control) number(-array) → (real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Input tuple.

Degdegdeg (output_control) number(-array) → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

Input tuple in degrees.

Combinations with other operators🔗

Combinations

See also

tuple_radTupleRad

Module🔗

Foundation