def get_centroid(self):
if (self.__centroid is not None):<EOL><INDENT>return self.__centroid;<EOL><DEDENT>self.__centroid = [<NUM_LIT:0>] * len(self.linear_sum);<EOL>for index_dimension in range(<NUM_LIT:0>, len(self.linear_sum)):<EOL><INDENT>self.__centroid[index_dimension] = self.linear_sum[index_dimension] / self.number_points;<EOL><DEDENT>return self.__centroid<EOL>
!
        @brief Calculates centroid of cluster that is represented by the entry. 
        @details It's calculated once when it's requested after the last changes.

        @return (list) Centroid of cluster that is represented by the entry.