scale_y_funct_1dT_scale_y_funct_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d (算子名称)
名称
scale_y_funct_1dT_scale_y_funct_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d — Multiplication and addition of the y values.
参数签名
def scale_y_funct_1d(function: Sequence[Union[float, int]], mult: float, add: float) -> Sequence[Union[float, int]]
描述
scale_y_funct_1dscale_y_funct_1dScaleYFunct1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d multiplies and adds the y values
of FunctionFunctionFunctionFunctionfunctionfunction with the parameters
MultMultMultMultmultmult and AddAddAddAddaddadd.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
FunctionFunctionFunctionFunctionfunctionfunction (input_control) function_1d → HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Input function.
MultMultMultMultmultmult (input_control) number → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Factor for scaling of the y values.
Default:
2.0
Suggested values:
0.1, 0.3, 0.5, 1.0, 2.0, 5.0, 10.0
AddAddAddAddaddadd (input_control) number → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Constant which is added to the y values.
Default:
0.0
Suggested values:
-10.0, -5.0, 1.0, 0.0, 5.0, 10.0
FunctionScaledFunctionScaledFunctionScaledFunctionScaledfunctionScaledfunction_scaled (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
模块
Foundation