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

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)

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

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