Skip to content

Instantly share code, notes, and snippets.

@sunilnandihalli
Created October 12, 2010 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sunilnandihalli/621773 to your computer and use it in GitHub Desktop.
Save sunilnandihalli/621773 to your computer and use it in GitHub Desktop.
(mathematica-eval "D[x*x+y*x,x]") returns => (+ (* 2 x) y)
(math (Variables (+ (* 2 x) y))) returns => [x y]
(math (Variables (mathematica-eval "D[x*x+y*x,x]")))
it is a combination of first and second sexps...
-> gives an error ...
I guess I need to do so me macro and symbolic thing .. bu I am unable to figure it out.. can anybody help?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment