scale_y_funct_1dT_scale_y_funct_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d (Operator)
Name
scale_y_funct_1dT_scale_y_funct_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d
— Multiplication and addition of the y values.
Signature
def scale_y_funct_1d(function: Sequence[Union[float, int]], mult: float, add: float) -> Sequence[Union[float, int]]
Description
scale_y_funct_1dscale_y_funct_1dScaleYFunct1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d
multiplies and adds the y values
of FunctionFunctionFunctionFunctionfunctionfunction
with the parameters
MultMultMultMultmultmult
and AddAddAddAddaddadd
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
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 value: 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 value: 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.
Possible Predecessors
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs
,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array
Module
Foundation