transform_funct_1dT_transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1d (算子名称)
名称
transform_funct_1dT_transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1d — Transform a function using given transformation parameters.
参数签名
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, 该算子
sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dSampleFunct1dsample_funct_1d can be used.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
FunctionFunctionFunctionFunctionfunctionfunction (input_control) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function.
ParamsParamsParamsParamsparamsValparams (input_control) number-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Transformation parameters between the functions.
Number of elements:
4
TransformedFunctionTransformedFunctionTransformedFunctionTransformedFunctiontransformedFunctiontransformed_function (output_control) 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
模块
Foundation