Skip to content

Commit

Permalink
Merge pull request #834 from stan-dev/mention-log-mix-array-lps
Browse files Browse the repository at this point in the history
Mention second argument of log_mix can be array
  • Loading branch information
bob-carpenter authored Nov 18, 2024
2 parents a748a4f + 4370d15 commit c2180ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/functions-reference/real-valued_basic_functions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,8 @@ proportion theta, defined by \begin{eqnarray*}
Calculates the log mixture density given `thetas`,
mixing proportions which should be between 0 and 1 and sum to 1,
and `lps`, log densities.
These two containers must have the same length.
The `lps` variable must be either a 1-d container of the same
length as `thetas`, or an array of such.

\begin{eqnarray*}
\mathrm{log\_mix}(\theta, \lambda)
Expand Down

0 comments on commit c2180ce

Please sign in to comment.