pure functiondewSpecificEntropy_Txi