Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

19
  • $\begingroup$ I am glad you have a solution. Would you like me to add a condensed version of your rule creation code to my answer? $\endgroup$ Commented Aug 23, 2013 at 4:49
  • $\begingroup$ By all means, please edit or move things into your answer if you prefer. I think this is a very useful utility for people. So far, the only missing pattern I have found is that while F[h][z] matched my function pattern I also needed F[h]'[z] to match to $F_h'(z)$ so I could write an ODE in terms of F[h] $\endgroup$ Commented Aug 23, 2013 at 5:08
  • $\begingroup$ Okay; tomorrow. $\endgroup$ Commented Aug 23, 2013 at 6:08
  • $\begingroup$ Thanks. If you have any ideas of the best/idiomatic way to create the as a package it would also be appreciated. I had trouble with contexts, etc when I tried it $\endgroup$ Commented Aug 23, 2013 at 16:30
  • $\begingroup$ When you say "ask a package" do you just mean a convenient way to load these definitions? If that is so you shouldn't need things like BeginPackage; if on the other hand you only want the definitions to be active only in certain contexts or the like you'll have to clearly specify what you want. $\endgroup$ Commented Aug 23, 2013 at 17:23