distance_funct_1dT_distance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1d (算子)
名称
distance_funct_1dT_distance_funct_1dDistanceFunct1dDistanceFunct1ddistance_funct_1d — 计算两个函数的距离。
签名
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]]
描述
distance_funct_1ddistance_funct_1dDistanceFunct1dDistanceFunct1dDistanceFunct1ddistance_funct_1d calculates the distance of two functions.
The two functions may differ in length.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
Function1Function1Function1Function1function1function_1 (输入控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function 1.
Function2Function2Function2Function2function2function_2 (输入控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function 2.
ModeModeModeModemodemode (输入控制) string(-array) → HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Modes of invariants.
默认值:
'length'
"length"
"length"
"length"
"length"
"length"
值列表:
'length'"length""length""length""length""length", 'mean'"mean""mean""mean""mean""mean"
SigmaSigmaSigmaSigmasigmasigma (输入控制) number(-array) → HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Variance of the optional smoothing with a
Gaussian filter.
默认值:
0.0
建议值:
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
DistanceDistanceDistanceDistancedistancedistance (输出控制) real-array → HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Distance of the functions.
模块
基础