Name
sample_funct_1dT_sample_funct_1dSampleFunct1dSampleFunct1d — Sample a function equidistantly in an interval.
void SampleFunct1d(const HTuple& Function, const HTuple& XMin, const HTuple& XMax, const HTuple& XDist, const HTuple& Border, HTuple* SampledFunction)
HFunction1D HFunction1D::SampleFunct1d(const HTuple& XMin, const HTuple& XMax, const HTuple& XDist, const HString& Border) const
HFunction1D HFunction1D::SampleFunct1d(double XMin, double XMax, double XDist, const HString& Border) const
HFunction1D HFunction1D::SampleFunct1d(double XMin, double XMax, double XDist, const char* Border) const
static void HOperatorSet.SampleFunct1d(HTuple function, HTuple XMin, HTuple XMax, HTuple XDist, HTuple border, out HTuple sampledFunction)
HFunction1D HFunction1D.SampleFunct1d(HTuple XMin, HTuple XMax, HTuple XDist, string border)
HFunction1D HFunction1D.SampleFunct1d(double XMin, double XMax, double XDist, string border)
sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1d samples the input function FunctionFunctionFunctionFunctionfunction
in the interval [XMinXMinXMinXMinXMin,XMaxXMaxXMaxXMaxXMax] at equidistant points
with the distance XDistXDistXDistXDistXDist. The last point lies in the
interval if XMaxXMaxXMaxXMaxXMax-XMinXMinXMinXMinXMin is not an integer multiple
of XDistXDistXDistXDistXDist. To obtain the samples, the input function is
interpolated linearly. The parameter BorderBorderBorderBorderborder determines the
values of the function FunctionFunctionFunctionFunctionfunction outside of its domain.
For BorderBorderBorderBorderborder='zero'"zero""zero""zero""zero" these values are set to 0, for
BorderBorderBorderBorderborder='constant'"constant""constant""constant""constant" they are set to the
corresponding value at the border, for
BorderBorderBorderBorderborder='mirror'"mirror""mirror""mirror""mirror" they are mirrored at the border,
and for BorderBorderBorderBorderborder='cyclic'"cyclic""cyclic""cyclic""cyclic" they are continued
cyclically.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Minimum x value of the output function.
Maximum x value of the output function.
Restriction: XMax > XMin
Distance of the samples.
Restriction: XDist > 0
Border treatment for the input function.
Default value:
'constant'
"constant"
"constant"
"constant"
"constant"
List of values: 'constant'"constant""constant""constant""constant", 'cyclic'"cyclic""cyclic""cyclic""cyclic", 'mirror'"mirror""mirror""mirror""mirror", 'zero'"zero""zero""zero""zero"
transform_funct_1dtransform_funct_1dTransformFunct1dTransformFunct1dTransformFunct1d,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray,
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs
Foundation