Hello all, and sorry if this question is a beginner’s one.
I do some symbolic computation in a code block using Sympy. And then I output the LateX version of the formula.
I’d like Datalore to display this in Latex. How do I give Datalore a hint about how to interpret the result ?
Example:
from sympy import symbols, Function, latex
x, a = symbols(‘x a’)
u = symbols(‘u’, cls=Function)
f = a**(u(x))
print("$${}$$".format(latex(f.diff(x))))