PointConstraint.penalty

PointConstraint.penalty(data)[source]

The distance between the current and the target vector.

Returns:

error (float) – The squared difference.