integrate_funct_1dT_integrate_funct_1dIntegrateFunct1dIntegrateFunct1dintegrate_funct_1d (算子名称)
名称
integrate_funct_1dT_integrate_funct_1dIntegrateFunct1dIntegrateFunct1dintegrate_funct_1d — Compute the positive and negative areas of a function.
参数签名
def integrate_funct_1d(function: Sequence[float]) -> Tuple[float, Sequence[float]]
描述
integrate_funct_1dintegrate_funct_1dIntegrateFunct1dIntegrateFunct1dIntegrateFunct1dintegrate_funct_1d integrates the function FunctionFunctionFunctionFunctionfunctionfunction
(see create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array and create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs)
and returns the integral of the positive and negative parts of the
function in PositivePositivePositivePositivepositivepositive and NegativeNegativeNegativeNegativenegativenegative, respectively.
Hence, the integral of the function is the difference
PositivePositivePositivePositivepositivepositive - NegativeNegativeNegativeNegativenegativenegative. The integration is done on
the interval on which the function is defined. For the integration,
the function is interpolated linearly.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
FunctionFunctionFunctionFunctionfunctionfunction (input_control) function_1d → HFunction1D, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Input function.
PositivePositivePositivePositivepositivepositive (output_control) number → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Area under the positive part of the function.
NegativeNegativeNegativeNegativenegativenegative (output_control) number-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Area under the negative part of the function.
可能的前置算子
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array
参考其它
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array,
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs
模块
Foundation