zero_crossings_funct_1dT_zero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1d (Operator)

Name

zero_crossings_funct_1dT_zero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1d — Calculate the zero crossings of a function.

Signature

zero_crossings_funct_1d( : : Function : ZeroCrossings)

Herror T_zero_crossings_funct_1d(const Htuple Function, Htuple* ZeroCrossings)

void ZeroCrossingsFunct1d(const HTuple& Function, HTuple* ZeroCrossings)

HTuple HFunction1D::ZeroCrossingsFunct1d() const

static void HOperatorSet.ZeroCrossingsFunct1d(HTuple function, out HTuple zeroCrossings)

HTuple HFunction1D.ZeroCrossingsFunct1d()

def zero_crossings_funct_1d(function: Sequence[Union[float, int]]) -> Sequence[float]

Description

zero_crossings_funct_1dzero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dZeroCrossingsFunct1dzero_crossings_funct_1d calculates the zero crossings ZeroCrossingsZeroCrossingsZeroCrossingsZeroCrossingszeroCrossingszero_crossings of the function FunctionFunctionFunctionFunctionfunctionfunction. 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 0, only the end points of its supporting interval are returned.

Execution Information

Parameters

FunctionFunctionFunctionFunctionfunctionfunction (input_control)  function_1d HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input function

ZeroCrossingsZeroCrossingsZeroCrossingsZeroCrossingszeroCrossingszero_crossings (output_control)  real-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Zero crossings of the input function

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array, smooth_funct_1d_gausssmooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGaussSmoothFunct1dGausssmooth_funct_1d_gauss, smooth_funct_1d_meansmooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMeanSmoothFunct1dMeansmooth_funct_1d_mean

Module

Foundation