sample_funct_1dT_sample_funct_1dSampleFunct1dSampleFunct1d (Operator)

Name

sample_funct_1dT_sample_funct_1dSampleFunct1dSampleFunct1d — Taste eine Funktion in einem Intervall äquidistant ab.

Signatur

sample_funct_1d( : : Function, XMin, XMax, XDist, Border : SampledFunction)

Herror T_sample_funct_1d(const Htuple Function, const Htuple XMin, const Htuple XMax, const Htuple XDist, const Htuple Border, Htuple* SampledFunction)

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

HFunction1D HFunction1D::SampleFunct1d(double XMin, double XMax, double XDist, const wchar_t* Border) const   (Nur Windows)

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)

Beschreibung

sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1d tastet die Eingabefunktion FunctionFunctionFunctionFunctionfunction im Intervall [XMinXMinXMinXMinXMin,XMaxXMaxXMaxXMaxXMax] an äquidistanten Stützstellen mit dem Abstand XDistXDistXDistXDistXDist ab. Die letzte Stützstelle liegt im Intervall, falls XMaxXMaxXMaxXMaxXMax-XMinXMinXMinXMinXMin kein ganzzahliges Vielfaches von XDistXDistXDistXDistXDist ist. Bei der Abtastung wird die Eingabefunktion linear interpoliert. Der Parameter BorderBorderBorderBorderborder entscheidet, welchen Wert die Funktion FunctionFunctionFunctionFunctionfunction außerhalb des gültigen Bereichs hat. Für BorderBorderBorderBorderborder='zero'"zero""zero""zero""zero" wird der Wert auf 0 gesetzt, für BorderBorderBorderBorderborder='constant'"constant""constant""constant""constant" auf den jeweiligen Randwert, für BorderBorderBorderBorderborder='mirror'"mirror""mirror""mirror""mirror" werden die Funktionswerte am Rand gespiegelt und für BorderBorderBorderBorderborder='cyclic'"cyclic""cyclic""cyclic""cyclic" werden sie zyklisch fortgesetzt.

Ausführungsinformationen

Parameter

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

Eingabefunktion.

XMinXMinXMinXMinXMin (input_control)  number HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Minimaler x-Wert der Ausgabefunktion.

XMaxXMaxXMaxXMaxXMax (input_control)  number HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Maximaler x-Wert der Ausgabefunktion.

Restriktion: XMax > XMin

XDistXDistXDistXDistXDist (input_control)  number HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Abstand der Abtastwerte.

Restriktion: XDist > 0

BorderBorderBorderBorderborder (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Randbehandlung für die Eingabefunktion.

Defaultwert: 'constant' "constant" "constant" "constant" "constant"

Werteliste: 'constant'"constant""constant""constant""constant", 'cyclic'"cyclic""cyclic""cyclic""cyclic", 'mirror'"mirror""mirror""mirror""mirror", 'zero'"zero""zero""zero""zero"

SampledFunctionSampledFunctionSampledFunctionSampledFunctionsampledFunction (output_control)  function_1d HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Abgetastete Funktion.

Vorgänger

transform_funct_1dtransform_funct_1dTransformFunct1dTransformFunct1dTransformFunct1d, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray, create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs

Modul

Foundation