A previously published library program [Wagner, Esling & Baro (1977). Texture Cryst. Solids, 2, 225–241] allowed the creation and storage of the set of numerical values necessary for three‐dimensional texture analysis, with the even ranks in the spherical harmonics expansion. To take into account the recent developments in texture analysis, a more general version of this program is proposed, including, besides the calculation for even ranks, its extension to the odd ones. In addition, the formulae and the general analytical expressions, valid whatever the rank l, are given for the set of the calculated constants and functions.