Add first fundamental form calculator to maths#14554
Open
singhc7 wants to merge 1 commit intoTheAlgorithms:masterfrom
Open
Add first fundamental form calculator to maths#14554singhc7 wants to merge 1 commit intoTheAlgorithms:masterfrom
singhc7 wants to merge 1 commit intoTheAlgorithms:masterfrom
Conversation
This adds a script to calculate the coefficients (e, f, g) of the first fundamental form for parametric surfaces. This mathematical framework is a core concept in differential geometry, used to measure lengths, angles, and areas on a surface. The implementation uses sympy for symbolic differentiation and simplification. While standard mathematical notation dictates capital E, F, and G for these coefficients, they are implemented as lowercase to strictly adhere to PEP 8 N806 and pass the repository's required Ruff linter pre-commit hooks. Reference: https://en.wikipedia.org/wiki/First_fundamental_form Author: singhc7
kbtale
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a script to calculate the coefficients (e, f, g) of the first fundamental form for parametric surfaces. This mathematical framework is a core concept in differential geometry, used to measure lengths, angles, and areas on a surface.
The implementation uses sympy for symbolic differentiation and simplification. While standard mathematical notation dictates capital E, F, and G for these coefficients, they are implemented as lowercase to strictly adhere to PEP 8 N806 and pass the repository's required Ruff linter pre-commit hooks.
Reference: https://en.wikipedia.org/wiki/First_fundamental_form
Author: singhc7
Describe your change:
Checklist: