{'fraction_non_alphanumeric': 0.027809965237543453, 'fraction_numerical': 0.002317497103128621, 'mean_word_length': 5.127659574468085, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Matlab package for automatically generating Runge-Kutta trees, order conditions, and truncation error coefficients

In designing parts of Runge-Kutta methods, order conditions and truncation error coefficients (TECs) are needed. Order conditions and TECs are typically presented as a set of trees combined with rules for producing algebraic expressions from the trees. The tree sets are defined recursively and can be generated by hand only for low orders. This article describes a package of Matlab routines for automatically generating Runge-Kutta trees, order conditions, and TECs. The routines are capable of generating Maple code, Matlab code, or LaTeX expressions for ODEs or DAEs of index 1 and 2. In producing the package, two theoretical problems are tackled: (a) avoiding the repeated generation of the same tree and (b) the efficient storage of TECs.