elementary_vectors.utility¶
Utility functions
Functions
|
Return whether this element is a symbolic expression. |
- elementary_vectors.utility.is_symbolic(expression)¶
Return whether this element is a symbolic expression.
If it belongs to the symbolic ring but doesn’t contain any variables it does not count as “symbolic”.
EXAMPLES:
sage: from elementary_vectors.utility import is_symbolic sage: is_symbolic(5) False sage: var('a, b') (a, b) sage: is_symbolic(a) True sage: is_symbolic(-a) True sage: is_symbolic(b^2 - a) True sage: is_symbolic(SR(5)) False