Skip to content

zero_crossings_funct_1dzero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1dT_zero_crossings_funct_1d🔗

Short description🔗

zero_crossings_funct_1dzero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1dT_zero_crossings_funct_1d — Calculate the zero crossings of a function.

Signature🔗

zero_crossings_funct_1d( function_1d Function, out real ZeroCrossings )zero_crossings_funct_1d( : : Function : ZeroCrossings )void ZeroCrossingsFunct1d( const HTuple& Function, HTuple* ZeroCrossings )static void HOperatorSet.ZeroCrossingsFunct1d( HTuple function, out HTuple zeroCrossings )def zero_crossings_funct_1d( function: Sequence[Union[float, int]] ) -> Sequence[float]

Herror T_zero_crossings_funct_1d( const Htuple Function, Htuple* ZeroCrossings )

HTuple HFunction1D::ZeroCrossingsFunct1d( ) const

HTuple HFunction1D.ZeroCrossingsFunct1d( )

Description🔗

zero_crossings_funct_1dZeroCrossingsFunct1d calculates the zero crossings ZeroCrossingszeroCrossingszero_crossings of the function Functionfunctionfunction. A linear interpolation is applied to the function between its sampling points so that the coordinates of the zero crossing can be calculated exactly. If an entire line segment between two sampling points has a value of 00, only the end points of its supporting interval are returned.

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🔗

Functionfunctionfunction (input_control) function_1d → (real / integer)(real / integer)HTuple (double / Hlong)HFunction1D, HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)

Input function

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

Zero crossings of the input function

Combinations with other operators🔗

Combinations

Possible predecessors

create_funct_1d_pairsCreateFunct1dPairs, create_funct_1d_arrayCreateFunct1dArray, smooth_funct_1d_gaussSmoothFunct1dGauss, smooth_funct_1d_meanSmoothFunct1dMean

Module🔗

Foundation