transform_funct_1dT_transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1d (算子)
名称
transform_funct_1dT_transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1d — 使用给定的变换参数变换一个函数。
签名
def transform_funct_1d(function: Sequence[Union[float, int]], params: Sequence[float]) -> Sequence[Union[float, int]]
描述
transform_funct_1dtransform_funct_1dTransformFunct1dTransformFunct1dTransformFunct1dtransform_funct_1d transforms the input function
FunctionFunctionFunctionFunctionfunctionfunction using the transformation parameters given in
ParamsParamsParamsParamsparamsValparams. The function FunctionFunctionFunctionFunctionfunctionfunction is passed as a
tuple (see create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array and
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs). The following model is used for the
transformation between the two functions (see
match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans):
The output function TransformedFunctionTransformedFunctionTransformedFunctionTransformedFunctiontransformedFunctiontransformed_function is obtained by
transforming the x and y values of the input function separately
with the above formula, i.e., the output function is not sampled
again. Therefore, the parameter is restricted to
. To resample a function, the operator
sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1dsample_funct_1d can be used.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
FunctionFunctionFunctionFunctionfunctionfunction (输入控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
输入函数。
ParamsParamsParamsParamsparamsValparams (输入控制) number-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Transformation parameters between the functions.
元素数量:
4
TransformedFunctionTransformedFunctionTransformedFunctionTransformedFunctiontransformedFunctiontransformed_function (输出控制) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Transformed function.
可能的前趋
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array,
match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans
模块
基础