stan-dev / stan-dev/math

Better document scalar_type, base_type, and value_type template concepts

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

Nobody has claimed this yet.

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

Description

Stan::Math exposes value_type_t, base_type_t, and scalar_type_t. Here is what the docs have to say about each:

Additionally, there are require_ templates such as require_vt_complex, and require_st_complex where the st and vt stand for scalar type and value type respectively, which could also use clarification.

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 with the linked Stan::Math API entries for base_type_t and scalar_type_t, then compare them with the existing value_type_t documentation. Clarify these three concepts and the st/vt abbreviations used by require_vt_complex and require_st_complex; done means the generated documentation explains each consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.