ClassesClasses | | Operators

zero_crossings_funct_1dT_zero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1d (Operator)

Name

zero_crossings_funct_1dT_zero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1d — 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()

Description

zero_crossings_funct_1dzero_crossings_funct_1dZeroCrossingsFunct1dZeroCrossingsFunct1dZeroCrossingsFunct1d calculates the zero crossings ZeroCrossingsZeroCrossingsZeroCrossingsZeroCrossingszeroCrossings of the function FunctionFunctionFunctionFunctionfunction. 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

FunctionFunctionFunctionFunctionfunction (input_control)  function_1d HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input function

ZeroCrossingsZeroCrossingsZeroCrossingsZeroCrossingszeroCrossings (output_control)  real-array HTupleHTupleHtuple (real) (double) (double) (double)

Zero crossings of the input function

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray, smooth_funct_1d_gausssmooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGaussSmoothFunct1dGauss, smooth_funct_1d_meansmooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMeanSmoothFunct1dMean

Module

Foundation


ClassesClasses | | Operators