MeasureTransport / MeasureTransport/MParT

Extend `Inverse` for more situations

Open
#313 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
18
Forks
5
PR merge metrics
No merged PRs in 30d

Description

This has been talked about, but I can't find where, so I'm opening a new issue. I'd like a few extra features for Inverse that would be nice--

  • Inverse(StridedMatrix pts): when the map is square, why bother with the fixed part of the matrix. This can be implemented simply as just calling the normal Inverse function with an empty view as the prefix, and we can always make this more efficient when we get to it
  • Inverse(StridedVector x1, StridedMatrix pts): When the map is rectangular and we want the conditional inverse of a bunch of points with respect to the same prefix. This would make implementing a FixedMap (See #245 ) a little easier.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Inverse overloads and review how the square-map and conditional-inverse cases are currently represented. Use the proposed Inverse(StridedMatrix pts) and Inverse(StridedVector x1, StridedMatrix pts) signatures, along with FixedMap in issue #245, to define the expected behavior and add coverage for both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.