-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to render elementary differentials using summation notation #103
Comments
That's a nice feature to have 👍
|
Thanks!
I am fine with that, although mapping trees to elementary differentials is something that is only done in the context of B-series. Then again, I guess that everything in RootedTrees.jl is aimed at working with B-series, and not with rooted trees more generally. So it's a question about the scope of RootedTrees.jl, which is up to you. If we implement this functionality in RootedTrees.jl, then the option to use it in I agree that it would be nice to extend this to colored trees, and seems straightforward. I'll prepare a PR that implements "use case 2" in RootedTrees.jl. |
Great, thanks! Yeah, the scope of RootedTrees.jl may be a bit unclear. In our description, we write
That's why we also have the basic types |
I've thought about this a bit more. Currently, there are no functions dealing with elementary differentials in RootedTrees.jl. There are functions dealing with elementary differentials in BSeries.jl. If we add the proposed functionality to RootedTrees.jl, then we'll have
It may be a bit confusing for users (as it is for me). After looking through both packages, it seems to me that the only reasonable place to put this functionality is in BSeries.jl under src/latexify.jl, since that's where we currently define |
You are right. Let's keep this in BSeries.jl. |
There is one thing that's in the TOMS paper that BSeries.jl actually still doesn't do, which is to write the elementary differentials for an unspecified RHS function$f$ using the notation that is used e.g. in the books of Hairer et. al. -- see column 5 of the table from the paper:
I would like to add this option. Here's some simple code that generates this as a LaTeX string:
Before going ahead, I wanted to get your opinion (@ranocha).
RootedTrees.jl
for how to render trees.The text was updated successfully, but these errors were encountered: