utils¶
- pydy.utils.sympy_equal_to_or_newer_than(version, installed_version=None)[source]¶
Returns true if the installed version of SymPy is equal to or newer than the provided version string.
- pydy.utils.sympy_newer_than(version)[source]¶
Returns true if the installed version of SymPy is newer than the provided version string.
- pydy.utils.wrap_and_indent(lines, indentation=4, width=79, continuation=None, comment=None)[source]¶
Returns a single string in which the lines have been indented and wrapped into a block of text.
- Parameters:
- indentationinteger
The number of characters to indent.
- widthinteger
The maximum line width.
- continuationstring
The continuation characters.
- commentstring
The character that designates a comment line.