Skip to content

Commit bffbede

Browse files
committed
Start signature formatting
1 parent a6ee3a7 commit bffbede

File tree

2 files changed

+44
-14
lines changed

2 files changed

+44
-14
lines changed

src/functions-reference/embedded_laplace.qmd

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -209,24 +209,34 @@ group the $i^\text{th}$ observation belongs to.
209209

210210
The signatures for the embedded Laplace approximation function with a Poisson
211211
likelihood are
212-
```
213-
real laplace_marginal_poisson_log_lpmf(array[] int y | array[] int y_index,
214-
vector theta0, function K_function, tuple(...));
215212

216-
real laplace_marginal_tol_poisson_log_lpmf(array[] int y | array[] int y_index,
217-
vector theta0, function K_function, tuple(...),
218-
real tol, int max_steps, int hessian_block_size,
219-
int solver, int max_steps_linesearch);
213+
<!-- real; laplace_marginal_poisson_log_lpmf; (array[] int y \textbar\ array[] int y_index, vector theta0, function K_function, tuple(...)); -->
214+
\index{{\tt \bfseries laplace\_marginal\_poisson\_log\_lpmf }!{\tt (array[] int y \textbar\ array[] int y\_index, vector theta0, function K\_function, tuple(...)): real}|hyperpage}
220215

221-
vector laplace_latent_poisson_log_rng(array[] int y, array[] int y_index,
222-
vector theta0, function K_function, tuple(...));
216+
`real` **`laplace_marginal_poisson_log_lpmf`**`(array[] int y \textbar\ array[] int y_index, vector theta0, function K_function, tuple(...))`<br>\newline
223217

224-
vector laplace_latent_tol_poisson_log_rng(array[] int y, array[] int y_index,
225-
vector theta0, function K_function, tuple(...),
226-
real tol, int max_steps, int hessian_block_size,
227-
int solver, int max_steps_linesearch);
228-
```
218+
{{< since 2.37 >}}
219+
220+
<!-- real; laplace_marginal_tol_poisson_log_lpmf; (array[] int y \textbar\ array[] int y_index, vector theta0, function K_function, tuple(...), real tol, int max_steps, int hessian_block_size, int solver, int max_steps_linesearch); -->
221+
\index{{\tt \bfseries laplace\_marginal\_tol\_poisson\_log\_lpmf }!{\tt (array[] int y \textbar\ array[] int y\_index, vector theta0, function K\_function, tuple(...), real tol, int max\_steps, int hessian\_block\_size, int solver, int max\_steps\_linesearch): real}|hyperpage}
222+
223+
`real` **`laplace_marginal_tol_poisson_log_lpmf`**`(array[] int y \textbar\ array[] int y_index, vector theta0, function K_function, tuple(...), real tol, int max_steps, int hessian_block_size, int solver, int max_steps_linesearch)`<br>\newline
224+
225+
{{< since 2.37 >}}
226+
227+
<!-- vector; laplace_latent_poisson_log_rng; (array[] int y, array[] int y_index, vector theta0, function K_function, tuple(...)); -->
228+
\index{{\tt \bfseries laplace\_latent\_poisson\_log\_rng }!{\tt (array[] int y, array[] int y\_index, vector theta0, function K\_function, tuple(...)): vector}|hyperpage}
229+
230+
`vector` **`laplace_latent_poisson_log_rng`**`(array[] int y, array[] int y_index, vector theta0, function K_function, tuple(...))`<br>\newline
231+
232+
{{< since 2.37 >}}
233+
234+
<!-- vector; laplace_latent_tol_poisson_log_rng; (array[] int y, array[] int y_index, vector theta0, function K_function, tuple(...), real tol, int max_steps, int hessian_block_size, int solver, int max_steps_linesearch); -->
235+
\index{{\tt \bfseries laplace\_latent\_tol\_poisson\_log\_rng }!{\tt (array[] int y, array[] int y\_index, vector theta0, function K\_function, tuple(...), real tol, int max\_steps, int hessian\_block\_size, int solver, int max\_steps\_linesearch): vector}|hyperpage}
236+
237+
`vector` **`laplace_latent_tol_poisson_log_rng`**`(array[] int y, array[] int y_index, vector theta0, function K_function, tuple(...), real tol, int max_steps, int hessian_block_size, int solver, int max_steps_linesearch)`<br>\newline
229238

239+
{{< since 2.37 >}}
230240

231241
A similar built-in likelihood lets users specify an offset $x_i \in \mathbb R^+$
232242
to the rate parameter of the Poisson. The likelihood is then,

src/functions-reference/functions_index.qmd

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)