scale_y_funct_1dscale_y_funct_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1dT_scale_y_funct_1d
Short description
scale_y_funct_1dscale_y_funct_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1dT_scale_y_funct_1d — Multiplication and addition of the y values.
Signature
scale_y_funct_1d( function_1d Function, number Mult, number Add, out function_1d FunctionScaled )scale_y_funct_1d( : : Function, Mult, Add : FunctionScaled )void ScaleYFunct1d( const HTuple& Function, const HTuple& Mult, const HTuple& Add, HTuple* FunctionScaled )static void HOperatorSet.ScaleYFunct1d( HTuple function, HTuple mult, HTuple add, out HTuple functionScaled )def scale_y_funct_1d( function: Sequence[Union[float, int]], mult: float, add: float ) -> Sequence[Union[float, int]]
Herror T_scale_y_funct_1d( const Htuple Function, const Htuple Mult, const Htuple Add, Htuple* FunctionScaled )
HFunction1D HFunction1D::ScaleYFunct1d( double Mult, double Add ) const
HFunction1D HFunction1D.ScaleYFunct1d( double mult, double add )
Description
scale_y_funct_1dScaleYFunct1d multiplies and adds the y values
of Functionfunctionfunction with the parameters
Multmultmult and Addaddadd.
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
Functionfunctionfunction (input_control) function_1d → (real / integer)(real / integer)HTuple (double / Hlong)HFunction1D, HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Input function.
Multmultmult (input_control) number → (real)(real)HTuple (double)HTuple (double)floatHtuple (double)
Factor for scaling of the y values.
Default: 2.02.0
Suggested values: 0.1, 0.3, 0.5, 1.0, 2.0, 5.0, 10.00.1, 0.3, 0.5, 1.0, 2.0, 5.0, 10.0
Addaddadd (input_control) number → (real)(real)HTuple (double)HTuple (double)floatHtuple (double)
Constant which is added to the y values.
Default: 0.00.0
Suggested values: -10.0, -5.0, 1.0, 0.0, 5.0, 10.0-10.0, -5.0, 1.0, 0.0, 5.0, 10.0
FunctionScaledfunctionScaledfunction_scaled (output_control) function_1d → (real / integer)(real / integer)HTuple (double / Hlong)HFunction1D, HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)
Transformed function.
Combinations with other operators
Combinations
Possible predecessors
create_funct_1d_pairsCreateFunct1dPairs, create_funct_1d_arrayCreateFunct1dArray
Module
Foundation