distance_funct_1dT_distance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1d (Operator)
Name
distance_funct_1dT_distance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1d
— Compute the distance of two functions.
Warning
distance_funct_1ddistance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1d
is obsolete and is only provided for
reasons of backward compatibility.
Signature
void DistanceFunct1d(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)
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]]
Description
distance_funct_1ddistance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1d
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
Function1Function1Function1function1function_1
(input_control) function_1d →
HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function 1.
Function2Function2Function2function2function_2
(input_control) function_1d →
HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function 2.
ModeModeModemodemode
(input_control) string(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Modes of invariants.
Default:
'length'
"length"
"length"
"length"
"length"
List of values:
'length'"length""length""length""length", 'mean'"mean""mean""mean""mean"
SigmaSigmaSigmasigmasigma
(input_control) number(-array) →
HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Variance of the optional smoothing with a
Gaussian filter.
Default:
0.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.0
DistanceDistanceDistancedistancedistance
(output_control) real-array →
HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Distance of the functions.
Module
Foundation