Skip to content

feat: add 3D vector dot product, new area shapes, and hemisphere volume#3175

Open
manraj-singh-sandhu wants to merge 3 commits into
TheAlgorithms:masterfrom
manraj-singh-sandhu:feat-math-extensions
Open

feat: add 3D vector dot product, new area shapes, and hemisphere volume#3175
manraj-singh-sandhu wants to merge 3 commits into
TheAlgorithms:masterfrom
manraj-singh-sandhu:feat-math-extensions

Conversation

@manraj-singh-sandhu

Copy link
Copy Markdown

Description of Changes
Added several missing mathematical operations and geometric shape algorithms following the repository's template guidelines and structure:

Vector Dot Product: Implemented 3D vector dot product algorithm with assert validation checks (vector_dot.cpp).

Area Extensions: Added template functions and test suites for Rhombus and Trapezoid calculations (area.cpp).

Volume Extensions: Added template functions and test suites for Hemisphere, Capsule, and Torus calculations (volume.cpp).

Verification
All code compiles flawlessly using g++ -std=c++11 and all custom unit tests pass successfully.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant