local_min_max_funct_1dT_local_min_max_funct_1dLocalMinMaxFunct1dLocalMinMaxFunct1dlocal_min_max_funct_1d (Operator)
Name
local_min_max_funct_1dT_local_min_max_funct_1dLocalMinMaxFunct1dLocalMinMaxFunct1dlocal_min_max_funct_1d — Berechnung der lokalen Minima und Maxima einer Funktion.
Signatur
void LocalMinMaxFunct1d(const HTuple& Function, const HTuple& Mode, const HTuple& Interpolation, HTuple* Min, HTuple* Max)
void HFunction1D::LocalMinMaxFunct1d(const HString& Mode, const HString& Interpolation, HTuple* Min, HTuple* Max) const
void HFunction1D::LocalMinMaxFunct1d(const char* Mode, const char* Interpolation, HTuple* Min, HTuple* Max) const
void HFunction1D::LocalMinMaxFunct1d(const wchar_t* Mode, const wchar_t* Interpolation, HTuple* Min, HTuple* Max) const
(Nur Windows)
def local_min_max_funct_1d(function: Sequence[Union[float, int]], mode: str, interpolation: str) -> Tuple[Sequence[float], Sequence[float]]
Beschreibung
local_min_max_funct_1dlocal_min_max_funct_1dLocalMinMaxFunct1dLocalMinMaxFunct1dLocalMinMaxFunct1dlocal_min_max_funct_1d bestimmt die lokalen Minima
MinMinMinMinminmin und Maxima MaxMaxMaxMaxmaxmax der Funktion FunctionFunctionFunctionFunctionfunctionfunction.
Da die Werte der Funktion nur an diskreten Punkten bekannt sind wird
zwischen diesen Punkten quadratisch interpoliert, falls der
Parameter InterpolationInterpolationInterpolationInterpolationinterpolationinterpolation den Wert 'true'"true""true""true""true""true" hat. Wird
InterpolationInterpolationInterpolationInterpolationinterpolationinterpolation auf 'false'"false""false""false""false""false" gesetzt, so werden
Extrema nur an den Stützstellen angenommen.
Wird ModeModeModeModemodemode auf 'strict_min_max'"strict_min_max""strict_min_max""strict_min_max""strict_min_max""strict_min_max" gesetzt, so werden
Extrema nur in der Umgebung von solchen Punkten gesucht, deren
Funktionswert echt größer bzw. echt kleiner ist als die Werte der
benachbarten Punkte.
Ist ModeModeModeModemodemode auf 'plateaus_center'"plateaus_center""plateaus_center""plateaus_center""plateaus_center""plateaus_center" eingestellt, so
werden auch Bereiche betrachtet, in denen der Funktionswert über
mehrere Stützstellen hinweg konstant bleibt. Wird solch ein
Bereich als abgeflachtes Extremum identifiziert, so wird sein
Mittelpunkt zurückgeliefert.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
FunctionFunctionFunctionFunctionfunctionfunction (input_control) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Eingabefunktion
ModeModeModeModemodemode (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Plateaubehandlung
Defaultwert:
'strict_min_max'
"strict_min_max"
"strict_min_max"
"strict_min_max"
"strict_min_max"
"strict_min_max"
Werteliste: 'plateaus_center'"plateaus_center""plateaus_center""plateaus_center""plateaus_center""plateaus_center", 'strict_min_max'"strict_min_max""strict_min_max""strict_min_max""strict_min_max""strict_min_max"
InterpolationInterpolationInterpolationInterpolationinterpolationinterpolation (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Interpolation der Funktion
Defaultwert:
'true'
"true"
"true"
"true"
"true"
"true"
Werteliste: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true"
MinMinMinMinminmin (output_control) real-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Minima der Funktion
MaxMaxMaxMaxmaxmax (output_control) real-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Maxima der Funktion
Vorgänger
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
Modul
Foundation