Herror ::scale_y_funct_1d (
    const HTuple &Function,
    const HTuple &Mult,
    const HTuple &Add,
    HTuple *FunctionScaled
)

Multiplication and addition of the y values.

::scale_y_funct_1d multiplies and adds the y values of Function with the parameters Mult and Add.


Parameters

Function (input_control)
function_1d-array -> HTuple.double / long
Input function.

Mult (input_control)
number -> HTuple.double
Factor for scaling of the y values.
Default value: 2
Suggested values: 0.1, 0.3, 0.5, 1, 2, 5, 10

Add (input_control)
number -> HTuple.double
Constant which is added to the y values.
Default value: 0
Suggested values: -10, -5, 1, 0, 5, 10

FunctionScaled (output_control)
function_1d-array -> HTuple.double * / long *
Transformed function.


Possible Predecessors

::create_funct_1d_pairs, ::create_funct_1d_array


Module

Tools



Copyright © 1996-2002 MVTec Software GmbH