stan-dev / stan-dev/math

Implement missing RNG functions

Open
#2,658 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The following RNG functions are missing (where specific signatures are not listed, that means that no _rng signatures are implemented for that function):

  • bernoulli_logit_glm_rng
bernoulli_logit_glm_rng(matrix, real, vector)
bernoulli_logit_glm_rng(matrix, vector, vector)
bernoulli_logit_glm_rng(row_vector, real, vector)
bernoulli_logit_glm_rng(matrix, real, vector)
  • binomial_logit_rng
  • categorical_logit_glm_rng
  • dirichlet_rng
dirichlet_rng(row_vector)
dirichlet_rng(array[] vector)
dirichlet_rng(array[] row_vector)
  • gaussian_dlm_obs_rng
  • multi_gp_cholesky_rng
  • multi_gp_rng
  • multi_normal_prec_rng
  • neg_binomial_2_log_glm_rng
  • normal_id_glm_rng
  • ordered_logistic_glm_rng
  • ordered_logistic_rng
ordered_logistic_rng(vector, vector)
ordered_logistic_rng(vector, array[] vector)
  • ordered_probit_rng
ordered_probit_rng(real, array[] vector) => real
ordered_probit_rng(vector, vector) => real
ordered_probit_rng(vector, array[] vector) => real
  • poisson_log_glm_rng
  • wiener_rng
Current Version:

v4.2.1

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 locating the existing implementations and signatures for the listed RNG entry points, comparing them with neighboring RNG functions. Done means every requested function and signature is implemented for v4.2.1 and the issue checklist is complete.

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
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.