Source: https://math.unice.fr/~ah/ens/cours/alg10/coord_base.pdf