I have a linear differential operator, for instance, $L\left (\partial _{t} \right )=\partial _{tt} - 3\partial _{t} + 2$. I use it in 2 different ways:
apply the operator to a function: $L\left (\partial _{t} \right )\sin(t)=-\sin(t)-3\cos(t)+2\sin(t)=\sin(t)-3\cos(t)$
find roots of the polynomial $L(p)=0$, in this case $p=1,p=2$
What is the best way to define such operator?
Mathematica 9
new differential operators likeDiv
,Curl
,Laplacian
etc. $\endgroup$