-
-
Notifications
You must be signed in to change notification settings - Fork 4
[Cass Koopmans Model] Update Translation #57
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
Conversation
✅ Deploy Preview for astonishing-narwhal-a8fc64 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Pull Request Overview
This PR updates Chinese translation in the Cass-Koopmans model lecture file to improve accuracy and readability. The changes focus on correcting grammatical issues, refining terminology, and ensuring consistency in mathematical expressions.
- Improves translation clarity and grammatical correctness throughout the document
- Standardizes terminology (e.g., "固定点" to "不动点", "fixed point" to proper Chinese mathematical term)
- Enhances formatting and spacing for better readability
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
``` | ||
|
||
在计算{eq}`constraint2`时,我们注意到$K_t$同时出现在时间$t$和时间$t-1$的可行性约束{eq}`allocation`中。 | ||
|
||
限制条件{eq}`constraint4`来自对$K_{T+1}$求导,并应用以下**卡鲁什-库恩-塔克条件**(KKT) | ||
(参见[Karush-Kuhn-Tucker条件](https://en.wikipedia.org/wiki/Karush-Kuhn-Tucker_conditions)): | ||
(参见[库恩塔克条件](https://baike.baidu.com/item/%E5%BA%93%E6%81%A9%E5%A1%94%E5%85%8B%E6%9D%A1%E4%BB%B6/3828439)): |
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.
The Chinese term should be '库恩-塔克条件' (with hyphen) to match the standard mathematical terminology for Kuhn-Tucker conditions.
Copilot uses AI. Check for mistakes.
lectures/cass_koopmans_1.md
Outdated
if np.abs(error) < tol: | ||
if verbose: | ||
print('Converged successfully on iteration ', i+1) | ||
print('在第', i+1, '迭代步时成功收敛') |
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.
[nitpick] The print statement uses comma-separated arguments which will insert spaces. For cleaner output, use f-string formatting: print(f'在第{i+1}次迭代时成功收敛')
Copilot uses AI. Check for mistakes.
This PR updates the translation in cass_koopmans_1.md.
There is no Exercise 50.1 in the Chinese version.
Do not merge until double-checked.
Fixed.