stan-dev / stan-dev/math

Add doubly stochastic matrix constraint

Open
#3,372 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
839
Forks
220
Avg merge
2d 4h
Merged PRs (30d)
14

Description

Discussed at StanCon, this is an extension of row/column stochastic matrices where the constraint applies in both directions simultaneously.

@SteveBronder said he had some use cases, and @spinkney said he knew a transform we could implement

Contributor guide

Open the contributing guide

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 reviewing the existing row- and column-stochastic matrix constraints in the Stan Math Library, then follow up on the StanCon discussion and the proposed transform. The issue does not name files, tests, or entry points. Done means implementing a doubly stochastic matrix constraint that applies in both directions and validating its intended use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.