Skip to content

tuple_deviationTupleDeviationTupleDeviationtuple_deviationtuple_deviation🔗

Short description🔗

tuple_deviationTupleDeviationTupleDeviationtuple_deviationtuple_deviation — Return the standard deviation of the elements of a tuple.

Signature🔗

tuple_deviation( number Tuple, out number Deviation )void TupleDeviation( const HTuple& Tuple, HTuple* Deviation )static void HOperatorSet.TupleDeviation( HTuple tuple, out HTuple deviation )def tuple_deviation( tuple: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_deviation_s( tuple: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_deviation( const Hlong Tuple, double* Deviation )

Herror T_tuple_deviation( const Htuple Tuple, Htuple* Deviation )

HTuple HTuple::TupleDeviation( ) const

HTuple HTuple.TupleDeviation( )

Description🔗

tuple_deviationTupleDeviation calculates the standard deviation of all elements of the input tuple Tupletupletuple. It returns the deviation as a floating point number in the output parameter Deviationdeviationdeviation. The input tuple may only consist of numbers (integer or floating point numbers).

Exception: Empty input tuple🔗

If the input tuple is empty, an exception is raised.

HDevelop In-line Operation🔗

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

Deviation := deviation(Tuple)

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🔗

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

Input tuple.

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

Standard deviation of tuple elements.

Combinations with other operators🔗

Combinations

Alternatives

tuple_meanTupleMean, tuple_sumTupleSum, tuple_minTupleMin, tuple_maxTupleMax, tuple_lengthTupleLength, tuple_medianTupleMedian

Module🔗

Foundation