Source: https://www.tsisoa.com/spip/IMG/pdf/reduction_des_endomorphismes-7.pdf