derivate_funct_1dT_derivate_funct_1dDerivateFunct1dDerivateFunct1dderivate_funct_1d (算子名称)
名称
derivate_funct_1dT_derivate_funct_1dDerivateFunct1dDerivateFunct1dderivate_funct_1d — Calculate the derivatives of a function.
参数签名
def derivate_funct_1d(function: Sequence[Union[float, int]], mode: str) -> Sequence[Union[float, int]]
描述
derivate_funct_1dderivate_funct_1dDerivateFunct1dDerivateFunct1dDerivateFunct1dderivate_funct_1d calculates the derivatives of the function
FunctionFunctionFunctionFunctionfunctionfunction up to the second degree. It uses a finite
difference approximation of order O(h^2). The derivative is also
a function with the same sampling points as FunctionFunctionFunctionFunctionfunctionfunction. With
the parameter ModeModeModeModemodemode, 'first'"first""first""first""first""first" and 'second'"second""second""second""second""second"
derivatives can be selected.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
FunctionFunctionFunctionFunctionfunctionfunction (input_control) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function
ModeModeModeModemodemode (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Type of derivative
Default:
'first'
"first"
"first"
"first"
"first"
"first"
List of values:
'first'"first""first""first""first""first", 'second'"second""second""second""second""second"
DerivativeDerivativeDerivativeDerivativederivativederivative (output_control) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Derivative of the input function
可能的前置算子
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
模块
Foundation