Skip to content

tuple_erfTupleErfTupleErftuple_erftuple_erf🔗

Short description🔗

tuple_erfTupleErfTupleErftuple_erftuple_erf — Compute the error function of a tuple.

Signature🔗

tuple_erf( number T, out number Erf )void TupleErf( const HTuple& T, HTuple* Erf )static void HOperatorSet.TupleErf( HTuple t, out HTuple erf )def tuple_erf( t: MaybeSequence[Union[float, int]] ) -> Sequence[float]

def tuple_erf_s( t: MaybeSequence[Union[float, int]] ) -> floatHerror tuple_erf( double T, double* Erf )

Herror T_tuple_erf( const Htuple T, Htuple* Erf )

HTuple HTuple::TupleErf( ) const

HTuple HTuple.TupleErf( )

Description🔗

tuple_erfTupleErf computes the error function of the input tuple Ttt. The error function is defined as:

\[\begin{eqnarray*} \textrm{erf}(x) = \frac{2}{\sqrt{\pi}} \int_{0}^{x} e^{-t^{2}} dt . \end{eqnarray*}\]

The value of the error function is always returned as a floating point number in Erferferf. The error function 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_erfTupleErf, which can be used in an expression in the following syntax:

Erf := erf(T)

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🔗

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

Input tuple.

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

Value of the error function of the input tuple.

Combinations with other operators🔗

Combinations

Alternatives

tuple_erfcTupleErfc

See also

tuple_expTupleExp

Module🔗

Foundation