Algorithm for the characteristics of the triple -functions.