gradient_bestfit

compas_tno.problems.gradient_bestfit(variables, M)

Sensitivity of the objective function to minimise the vertical squared distance to the target.

Parameters:
variablesarray (k x 1)

Variables to pass to the function.

MProblem

The class with necessary matrices, or arguments, to compute the objective function

Returns:
gradarray (k x 1)

The gradient of the objective function in the point. Represents the sensitivity of each variable in the objective function value.