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
Docs documenter #47
Docs documenter #47
Conversation
No problem, but use English here. I'll check your PR in the next few days. |
As we discussed, I suggest:
|
Changes about the suggestions were made. Expansion coefficients for the |
Thanks for everything! I have few comments on the style:
I think you can add to |
Is there a particular reason why you chose to have a separate |
taylor1_variable(T, [order=1]) | ||
taylor1_variable([order=1]) | ||
|
||
Short-cut to define the independent variable as a `Taylor1` polynomial of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer shortcut
to short-cut
That was a suggestion I made to Blas based on what is (currently) done in Base (though i think If you are strongly in favor of having them together with the code, I think this is the good time to revert things and clean up some commits. (Sorry Blas about thist!) |
Yes, I'm definitely strongly in favour of having them together with the corresponding functions in the code; as you say, this is indeed literate programming. As regards the order of appearence of the functions when you do |
@blas-ko My mistake, Blas... This is indeed in the spirit of literate programing, but not quite... But that's another thing. |
According to https://groups.google.com/forum/m/#!topic/julia-users/WPHhQtVxCVs |
Thanks for the info! |
I moved back the docstrings into the |
Thanks for pushing an updated version. I will correct the docstrings and clean up a little bit this PR, because there is a bunch of commits which do not provide anything. If I can't keep the authorship of the relevant commits, you will clean up the commits. |
Checking today the last commit by @blas-ko , I noticed that I never responded to this and this comments. The question is:
@dpsanders You are good at naming functions. How do you like this proposal? |
Once we decide this, I'll change the code, the docs and the tests accordingly. |
Can't they both be called derivative? derivative(p) is the polynomial, and derivative(p, a) is the derivative evaluated at the point a? |
Currently, we have My point is that it makes things ambiguous if we use the same name to return different quantities (polynomial of the differential vs value of a given derivative). Moreover, we could define What about |
I would find that very confusing. I suggest derivative for both (the Julian style :) ) but change the order of the arguments, so derivative(i, p) is the ith derivative and derivative(p, a) is evaluated at a. And derivative(i, P, a) is the ith derivative evaluated at a! |
Note that all tests are failing on travis. |
I like |
Perdón que cerré el Pull Request pasado.
Documenté todo el
Taylor1.jl
incluyendo las relaciones de recurrencia para los coeficientes deHomogCoefs
. Se utilizaron caracteres de UNICODE ya queDocumenter.jl
aún no funciona bien con ecuaciones para la documentación interna.