Skip to content

docs: Document DirectProductElement#6260

Open
limakzi wants to merge 1 commit intogap-system:masterfrom
limakzi:3452-document-directproductelement
Open

docs: Document DirectProductElement#6260
limakzi wants to merge 1 commit intogap-system:masterfrom
limakzi:3452-document-directproductelement

Conversation

@limakzi
Copy link
Member

@limakzi limakzi commented Mar 10, 2026

DirectProductElement and DirectProductElementNC were previously declared in tuples.gd with an empty <Description> block and no GAPDoc label, so they did not appear in the manual at all.

This PR fills in the documentation, component access via indexing and Length, and componentwise arithmetic, followed by two worked examples:

  • one showing basic usage with permutations,
  • and one showing the operator in the context of a DirectProduct(G, H) with embeddings and projections.

Fixes #3452.

Copilot AI review requested due to automatic review settings March 10, 2026 07:41
Copy link

Copilot AI left a 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 adds missing reference manual documentation for creating and working with IsDirectProductElement objects via DirectProductElement / DirectProductElementNC, and ensures the new documentation is included in the reference manual build (fixing #3452).

Changes:

  • Add GAPDoc for DirectProductElement / DirectProductElementNC, including indexing/Length, componentwise operations, and worked examples.
  • Include the new GAPDoc label in the reference manual section index.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
lib/tuples.gd Adds a new GAPDoc block documenting DirectProductElement and DirectProductElementNC, with examples.
doc/ref/mapping.xml Includes the new DirectProductElement label so it appears in the manual.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@limakzi limakzi force-pushed the 3452-document-directproductelement branch from e91f1e8 to 499a2b0 Compare March 10, 2026 07:59
@limakzi limakzi force-pushed the 3452-document-directproductelement branch from 499a2b0 to 4dd3d88 Compare March 10, 2026 08:09
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.

Document DirectProductElement

2 participants