Opened 21 months ago

Last modified 20 months ago

## #29326 closed enhancement

# Improvements for projection into affine hull — at Initial Version

Reported by: | gh-kliem | Owned by: | |
---|---|---|---|

Priority: | major | Milestone: | sage-9.1 |

Component: | geometry | Keywords: | polyhedra, affine hull |

Cc: | jipilab, gh-LaisRast | Merged in: | |

Authors: | Jonathan Kliem | Reviewers: | |

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description

This ticket renames `affine_hull`

of `Polyhedron_base`

to `in_affine_hull`

and adds a deprecation warning.

Before, this function was hard to find, as an affine hull of a polyhedron usually defined to be the smallest affine subspace containing the polyhedron.

Also this ticket makes use of #28724 to simplify this construction: We determine a transformation matrix `A`

and a vector `b`

and basically return `A*P - b`

, where `P`

is the polyhedron.

**Note:**See TracTickets for help on using tickets.