Operator Reference

scale_y_funct_1dT_scale_y_funct_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d (Operator)

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_1dScaleYFunct1dScaleYFunct1dscale_y_funct_1d multiplies and adds the y values of FunctionFunctionFunctionfunctionfunction with the parameters MultMultMultmultmult and AddAddAddaddadd.

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

FunctionFunctionFunctionfunctionfunction (input_control)  function_1d HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input function.

MultMultMultmultmult (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

AddAddAddaddadd (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

FunctionScaledFunctionScaledFunctionScaledfunctionScaledfunction_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_pairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array

Module

Foundation