Skip to content

Commit

Permalink
sagemathgh-39285: add parameter immutable to some graph products in…
Browse files Browse the repository at this point in the history
… `sage/graphs/generic_graph.py`

    
Following sagemath#39280 and discussions in sagemath#39177, we add parameter `immutable`
to some graph product operations defined in
`sage/graphs/generic_graph.py`:
- `cartesian_product`
- `tensor_product`
- `lexicographic_product`
- `strong_product`
- `disjunctive_product`


### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#39285
Reported by: David Coudert
Reviewer(s): David Coudert, Frédéric Chapoton
  • Loading branch information
Release Manager committed Jan 30, 2025
2 parents 34d8cbe + 1d96578 commit af6adb9
Showing 1 changed file with 230 additions and 71 deletions.
Loading

0 comments on commit af6adb9

Please sign in to comment.