A study of the Chamaeleon I dark cloud and T-association. V : Luminosity function for members