Détermination d'une fonction affine