Skip to content

CommonMath Polished Docs - #519

Open
lukelowry wants to merge 10 commits into
developfrom
lukel/math-polish-dev
Open

CommonMath Polished Docs#519
lukelowry wants to merge 10 commits into
developfrom
lukel/math-polish-dev

Conversation

@lukelowry

Copy link
Copy Markdown
Collaborator

Description

Closes #513 , @shakedregev, please let me know if this resolves your concerns. I like it much better now too.

@pelesh Please read the Ramp section; I provide a better explanation of what I was trying to say earlier.

Proposed changes

Better description soon

Checklist

N/A

Further comments

Do we want the .tex files I used to generate these tracked in the repo?

@lukelowry
lukelowry requested review from pelesh and shakedregev August 3, 2026 20:47
@lukelowry
lukelowry marked this pull request as ready for review August 3, 2026 23:26
@nkoukpaizan nkoukpaizan added documentation Improvements or additions to documentation cleanup labels Aug 4, 2026

@pelesh pelesh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use the same organization as before, just distinguish between discrete function and smooth approximation.

For example, in the section "Step Function" I would define Heaviside function as used in most commercial tools today and after that definition I would explain we are using sigmoid function to approximate the step function. Minimal changes to your original documentation.

Describing all nonsmooth functions in one section and their smooth counterparts in the other section makes documentation harder to read.

Comment thread GridKit/Model/EMT/Component/Load/LoadZ/README.md Outdated
@lukelowry
lukelowry force-pushed the lukel/math-polish-dev branch from e9f864a to e497b65 Compare August 6, 2026 14:41
@lukelowry

Copy link
Copy Markdown
Collaborator Author

Corrected, I think it is good to go

@nkoukpaizan nkoukpaizan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my suggestion for the sigmoid and update the ramp and quadratic ramp functions accordingly. The issue raised in #513 is about using precise mathematical terminology. There are discrete functions and smooth approximations to those function.

I wouldn't use ReLU and ReQU in this context, as they are terminology used for activation functions.

Comment thread GridKit/CommonMath.md Outdated
Comment thread GridKit/CommonMath.md Outdated
Comment thread GridKit/CommonMath.md Outdated
Comment thread GridKit/CommonMath.md Outdated
lukelowry and others added 4 commits August 6, 2026 13:06
Co-authored-by: Nicholson Koukpaizan <72402802+nkoukpaizan@users.noreply.github.com>
Co-authored-by: Nicholson Koukpaizan <72402802+nkoukpaizan@users.noreply.github.com>
Co-authored-by: Nicholson Koukpaizan <72402802+nkoukpaizan@users.noreply.github.com>
Co-authored-by: Nicholson Koukpaizan <72402802+nkoukpaizan@users.noreply.github.com>
@lukelowry

Copy link
Copy Markdown
Collaborator Author

Thank you for suggestions @nkoukpaizan. All applied

@lukelowry

Copy link
Copy Markdown
Collaborator Author

Oh also @nkoukpaizan the models that consume these functions do use these as activation functions primarily, particularly when we use it for rate limiters. Not an important distinction but worth clarifying

@pelesh pelesh added this to the Release 0.2 milestone Aug 6, 2026
@nkoukpaizan

Copy link
Copy Markdown
Collaborator

Oh also @nkoukpaizan the models that consume these functions do use these as activation functions primarily, particularly when we use it for rate limiters. Not an important distinction but worth clarifying

In that case, please add to the documentation. It is currently not clear to me.

@lukelowry

Copy link
Copy Markdown
Collaborator Author

Okay, resolved. I just made a more accurate introductory paragraph describing the general application of these functions thusfar.

@nkoukpaizan nkoukpaizan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple more suggestions. Will wait for @shakedregev to review.

Comment thread GridKit/CommonMath.md Outdated
Comment thread GridKit/CommonMath.md Outdated
lukelowry and others added 2 commits August 6, 2026 18:40
Co-authored-by: Nicholson Koukpaizan <72402802+nkoukpaizan@users.noreply.github.com>
Co-authored-by: Nicholson Koukpaizan <72402802+nkoukpaizan@users.noreply.github.com>
@lukelowry

Copy link
Copy Markdown
Collaborator Author

Thank you @pelesh @shakedregev @nkoukpaizan for the attention to detail. Implementing these models is basically infeasible without this doc, it is like my Rosetta Stone between the classical representation of these models and our framework

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix CommonMath documentation

3 participants