Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Jul 8, 2024
1 parent 9430fba commit 10a9c94
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions clients/R/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ export(optimizer)
export(pathfinder)
export(sampler)
export(set_tinystan_path)
export(stan_version)
export(tinystan_model)
2 changes: 1 addition & 1 deletion clients/julia/docs/src/julia.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Or, since you have already downloaded the repository, you can run

from the TinyStan folder.

The first time you compile a model, the BridgeStan source code for your current version
The first time you compile a model, the TinyStan source code for your current version
will be downloaded to a hidden directory in the users `HOME` directory.

To use the TinyStan source you've manually downloaded instead of
Expand Down
2 changes: 1 addition & 1 deletion docs/languages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Language Interfaces
===================

BridgeStan currently has clients in four languages, a public C API
TinyStan currently has clients in four languages, a public C API
which underlies all the clients, and an example of a standalone program
written in C.

Expand Down
2 changes: 1 addition & 1 deletion docs/languages/c-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Installation
------------

Please follow the :doc:`Getting Started guide <../getting-started>` to install
BridgeStan's pre-requisites and downloaded a copy of the BridgeStan source code.
TinyStan's pre-requisites and downloaded a copy of the TinyStan source code.

This API is implemented in C++ and exposed to C using the ``extern "C"`` directive.
It is used to implement all the other high-level interfaces. It can also
Expand Down
10 changes: 5 additions & 5 deletions docs/languages/julia.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Or, since you have already downloaded the repository, you can run
from the TinyStan folder.


The first time you compile a model, the BridgeStan source code for your current version will be downloaded to a hidden directory in the users `HOME` directory.
The first time you compile a model, the TinyStan source code for your current version will be downloaded to a hidden directory in the users `HOME` directory.


To use the TinyStan source you've manually downloaded instead of one the package will download for you, you must use [`set_tinystan_path()`](TinyStan.set_tinystan_path!) or the `$TINYSTAN` environment variable.
Expand Down Expand Up @@ -125,7 +125,7 @@ Run Stan's No-U-Turn Sampler (NUTS) to sample from the posterior. An in-depth ex
Returns a tuple of the parameter names, the draws, and the metric if `save_metric` is true.


<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L169-L179' class='documenter-source'>source</a><br>
<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L197-L207' class='documenter-source'>source</a><br>

<a id='TinyStan.HMCMetric' href='#TinyStan.HMCMetric'>#</a>
**`TinyStan.HMCMetric`** &mdash; *Type*.
Expand Down Expand Up @@ -153,7 +153,7 @@ Run the Pathfinder algorithm to approximate the posterior. See [Stan's documenta
Returns a tuple of the parameter names and the draws.


<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L309-L317' class='documenter-source'>source</a><br>
<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L337-L345' class='documenter-source'>source</a><br>

<a id='TinyStan.optimize' href='#TinyStan.optimize'>#</a>
**`TinyStan.optimize`** &mdash; *Function*.
Expand All @@ -171,7 +171,7 @@ This will find either the maximum a posteriori (MAP) estimate or the maximum lik
Returns a tuple of the parameter names and the optimized values.


<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L407-L418' class='documenter-source'>source</a><br>
<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L435-L446' class='documenter-source'>source</a><br>

<a id='TinyStan.OptimizationAlgorithm' href='#TinyStan.OptimizationAlgorithm'>#</a>
**`TinyStan.OptimizationAlgorithm`** &mdash; *Type*.
Expand Down Expand Up @@ -199,7 +199,7 @@ Sample from the Laplace approximation of the posterior centered at the provided
Returns a tuple of the parameter names and the draws.


<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L481-L490' class='documenter-source'>source</a><br>
<a target='_blank' href='https://github.com/WardBrian/TinyStan/blob/main/clients/julia/src/model.jl#L509-L518' class='documenter-source'>source</a><br>


<a id='Compilation-utilities'></a>
Expand Down

0 comments on commit 10a9c94

Please sign in to comment.