derivate_funct_1dT_derivate_funct_1dDerivateFunct1dDerivateFunct1dderivate_funct_1d导数函数一维(算子)
名称
derivate_funct_1dT_derivate_funct_1dDerivateFunct1dDerivateFunct1dderivate_funct_1d — 计算函数的导数。
签名
def derivate_funct_1d(function: Sequence[Union[float, int]], mode: str) -> Sequence[Union[float, int]]
描述
derivate_funct_1dderivate_funct_1dDerivateFunct1dDerivateFunct1dDerivateFunct1dderivate_funct_1d 用于计算函数
FunctionFunctionFunctionFunctionfunctionfunction 的二阶及以下导数。它采用 O(h^2) 阶的有限差分逼近法。该导数函数与 FunctionFunctionFunctionFunctionfunctionfunction 具有相同的采样点。通过 ModeModeModeModemodemode 参数,可以选择计算 'first'"first""first""first""first""first" 和
'second'"second""second""second""second""second" 导数。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
FunctionFunctionFunctionFunctionfunctionfunction (输入控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
输入函数。
ModeModeModeModemodemode (输入控制) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
导数类型。
默认值:
'first'
"first"
"first"
"first"
"first"
"first"
值列表:
'first'"first""first""first""first""first", 'second'"second""second""second""second""second"
DerivativeDerivativeDerivativeDerivativederivativederivative (输出控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
输入函数的导数。
可能的前趋
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
模块
基础