distance_funct_1ddistance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1dT_distance_funct_1d
Short description
distance_funct_1ddistance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1dT_distance_funct_1d — Compute the distance of two functions.
Warning
distance_funct_1dDistanceFunct1d is obsolete and is only provided for
reasons of backward compatibility.
Signature
distance_funct_1d( function_1d Function1, function_1d Function2, string Mode, number Sigma, out real Distance )distance_funct_1d( : : Function1, Function2, Mode, Sigma : Distance )void DistanceFunct1d( const HTuple& Function1, const HTuple& Function2, const HTuple& Mode, const HTuple& Sigma, HTuple* Distance )static void HOperatorSet.DistanceFunct1d( HTuple function1, HTuple function2, HTuple mode, HTuple sigma, out HTuple distance )def distance_funct_1d( function_1: Sequence[Union[float, int]], function_2: Sequence[Union[float, int]], mode: MaybeSequence[str], sigma: MaybeSequence[float] ) -> Sequence[Union[float, int]]
Herror T_distance_funct_1d( const Htuple Function1, const Htuple Function2, const Htuple Mode, const Htuple Sigma, Htuple* Distance )
HTuple HFunction1D::DistanceFunct1d( const HFunction1D& Function2, const HTuple& Mode, const HTuple& Sigma ) const
HTuple HFunction1D::DistanceFunct1d( const HFunction1D& Function2, const HString& Mode, double Sigma ) const
HTuple HFunction1D::DistanceFunct1d( const HFunction1D& Function2, const char* Mode, double Sigma ) const
HTuple HFunction1D::DistanceFunct1d( const HFunction1D& Function2, const wchar_t* Mode, double Sigma ) const (Windows only)
HTuple HFunction1D.DistanceFunct1d( HFunction1D function2, HTuple mode, HTuple sigma )
HTuple HFunction1D.DistanceFunct1d( HFunction1D function2, string mode, double sigma )
Description
distance_funct_1dDistanceFunct1d calculates the distance of two functions.
The two functions may differ in length.
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters
Function1function1function_1 (input_control) function_1d → (real / integer)(real / integer)HTuple (double / Hlong)HFunction1D, HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Input function 1.
Function2function2function_2 (input_control) function_1d → (real / integer)(real / integer)HTuple (double / Hlong)HFunction1D, HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Input function 2.
Modemodemode (input_control) string(-array) → (string)(string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)
Modes of invariants.
Default: 'length'"length"
List of values: 'length', 'mean'"length", "mean"
Sigmasigmasigma (input_control) number(-array) → (real)(real)HTuple (double)HTuple (double)MaybeSequence[float]Htuple (double)
Variance of the optional smoothing with a
Gaussian filter.
Default: 0.00.0
Suggested values: 0.0, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 5.0, 7.0, 10.0, 15.0, 20.0, 25.0, 30.0, 40.0, 50.00.0, 0.5, 1.0, 1.5, 2.0, 3.0, 4.0, 5.0, 7.0, 10.0, 15.0, 20.0, 25.0, 30.0, 40.0, 50.0
Distancedistancedistance (output_control) real-array → (real / integer)(real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Distance of the functions.
Module
Foundation