scale_y_funct_1dT_scale_y_funct_1dScaleYFunct1dScaleYFunct1d (Operator)


scale_y_funct_1dT_scale_y_funct_1dScaleYFunct1dScaleYFunct1d — Multiplication and addition of the y values.


scale_y_funct_1d( : : Function, Mult, Add : FunctionScaled)

Herror T_scale_y_funct_1d(const Htuple Function, const Htuple Mult, const Htuple Add, Htuple* FunctionScaled)

void ScaleYFunct1d(const HTuple& Function, const HTuple& Mult, const HTuple& Add, HTuple* FunctionScaled)

HFunction1D HFunction1D::ScaleYFunct1d(double Mult, double Add) const

static void HOperatorSet.ScaleYFunct1d(HTuple function, HTuple mult, HTuple add, out HTuple functionScaled)

HFunction1D HFunction1D.ScaleYFunct1d(double mult, double add)


scale_y_funct_1dscale_y_funct_1dScaleYFunct1dScaleYFunct1dScaleYFunct1d multiplies and adds the y values of FunctionFunctionFunctionFunctionfunction with the parameters MultMultMultMultmult and AddAddAddAddadd.

Execution Information


FunctionFunctionFunctionFunctionfunction (input_control)  function_1d HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input function.

MultMultMultMultmult (input_control)  number HTupleHTupleHtuple (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

AddAddAddAddadd (input_control)  number HTupleHTupleHtuple (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

FunctionScaledFunctionScaledFunctionScaledFunctionScaledfunctionScaled (output_control)  function_1d HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Transformed function.

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray