-
Notifications
You must be signed in to change notification settings - Fork 72
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
adding necessary functions to time_iteration docstring #205
base: master
Are you sure you want to change the base?
Conversation
It appears that an arbitrage equation has the signature:
What are r1 and r2? |
Yes this is very helpful. When the doc is stable we could link to the algorithm mathematical description |
I'm a bit surprised. In the core definition, the result is |
Ah, I just saw where the confusion might come from. In the self contained example, you get something like: @jit(nopython=True)
def arbitrage_(m, s, x, M, S, X, p):
res_1 = χ*n**η*c**σ - w
res_2 = 1 - β*(c/C)**(σ)*(1-δ+R)
return (res_1, res_2) In this example, (res_1, res_2) represents one vector of size 2, same as vector x, which can also be seen as a tuple of two elements. |
In this PR, I've added something to this page that briefly overviews the necessary functions for each of the solution algorithms: I see now where these equations are defined, here: Perhaps I was being dense not finding them earlier. But I will put some thought into how to create a "dictionary" or "cheat sheet" to make it easier to look up the definition of one of the technical terms that appears in the model language. I expect doing this correctly will involve clean use of the markup language to manage internal links within the documentation. I also understand that the documentation is currently in flux? Maybe I can revisit this once the MakeTheDocs are more complete. |
Thanks. Tell me when you want to merge this PR. As for the mkdocs, I expect to complete the transition by the end of next week (and get rid of all concurrent versions of the docs). I just need to figure out how to autodocument python functions. |
Adding a mention of
transition
andarbitrage
to parameter docs.Is this kind of change welcome?