Skip to content

Commit 4370d15

Browse files
committed
Mention second argument of log_mix can be array
1 parent a748a4f commit 4370d15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/functions-reference/real-valued_basic_functions.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,8 @@ proportion theta, defined by \begin{eqnarray*}
16361636
Calculates the log mixture density given `thetas`,
16371637
mixing proportions which should be between 0 and 1 and sum to 1,
16381638
and `lps`, log densities.
1639-
These two containers must have the same length.
1639+
The `lps` variable must be either a 1-d container of the same
1640+
length as `thetas`, or an array of such.
16401641

16411642
\begin{eqnarray*}
16421643
\mathrm{log\_mix}(\theta, \lambda)

0 commit comments

Comments
 (0)