https://github.com/stan-dev/stan
- HEAD
- refs/heads/StanHeaders_2.21
- refs/heads/StanHeaders_2.23
- refs/heads/StanHeaders_2.25
- refs/heads/StanHeaders_2.26
- refs/heads/StanHeaders_2.31
- refs/heads/adsvi
- refs/heads/benchmark-faster-tls-v3
- refs/heads/bug-fix/windowed-adaption-uint-rollover
- refs/heads/bugfix/2226-2-sided-trunc
- refs/heads/bugfix/issue-1179-exponential_log-bounds-checking
- refs/heads/bugfix/issue-2174
- refs/heads/bugfix/issue-3023
- refs/heads/bugfix/issue-3034
- refs/heads/bugfix/issue-math-1809
- refs/heads/bugfix/recover_mem
- refs/heads/bugfix/rvalue
- refs/heads/bugfix/stan-functions-sed
- refs/heads/build/fail-on-warnings
- refs/heads/build/gcc_integration_tests
- refs/heads/build/pipelinetest
- refs/heads/build/pipetest
- refs/heads/build/testing
- refs/heads/build/travis-memory
- refs/heads/build/upstream
- refs/heads/ci/fix-gh-author
- refs/heads/ci/fix-quality-gate-filter
- refs/heads/cleanup/indexing
- refs/heads/cleanup/indexing-error-messages
- refs/heads/cleanup/mcmc-inlines-and-inits
- refs/heads/cleanup/remove-hamiltonian-nondefault-constructors
- refs/heads/cleanup/warnings-from-3179
- refs/heads/complex-stuff
- refs/heads/develop
- refs/heads/exhaustions
- refs/heads/exp/rbnuts
- refs/heads/exp/stein
- refs/heads/experiment/laplace
- refs/heads/experiment/laplace-path
- refs/heads/experiment/mixmax-rng
- refs/heads/feature/2370-var-decls-from-model
- refs/heads/feature/2480-fix-csv-reader
- refs/heads/feature/2688-service-config
- refs/heads/feature/2759-model-base-class
- refs/heads/feature/3119-pathfinder-services
- refs/heads/feature/add-linear-cov-additions-to-lang
- refs/heads/feature/advi-internal-changes
- refs/heads/feature/all-crtp
- refs/heads/feature/cleanup-bounds-io
- refs/heads/feature/cmake
- refs/heads/feature/complex-methods
- refs/heads/feature/crtp-mcmc-bases
- refs/heads/feature/crtp-ps_point
- refs/heads/feature/design-32-split-outputs
- refs/heads/feature/design-doc-16-optimize-hessian
- refs/heads/feature/eigen-34-multi-index
- refs/heads/feature/eigen-slices
- refs/heads/feature/extended-divergences-reporting
- refs/heads/feature/faster-varmat-multi-index
- refs/heads/feature/flto
- refs/heads/feature/init-data
- refs/heads/feature/integrate-function-parser-doc
- refs/heads/feature/issue-1132-pygmentize
- refs/heads/feature/issue-1189-2nd-and-3rd-order-tests
- refs/heads/feature/issue-1246-gp_dot_prod_cov_matrix_Sigma
- refs/heads/feature/issue-1361-writer_callback
- refs/heads/feature/issue-1579-interface_callbacks
- refs/heads/feature/issue-1580-print_on_one_line
- refs/heads/feature/issue-1602-implement-writers.hpp
- refs/heads/feature/issue-1643-five-regression-models
- refs/heads/feature/issue-1703-user-functions-with-doubles
- refs/heads/feature/issue-202-vectorize-all-binary
- refs/heads/feature/issue-2070-time-based-refreshes
- refs/heads/feature/issue-2142-testing-higher-order
- refs/heads/feature/issue-2188-stop
- refs/heads/feature/issue-2474-advi-diagnostic
- refs/heads/feature/issue-2474-vi-diagnostic
- refs/heads/feature/issue-2522-laplace
- refs/heads/feature/issue-2735-newton_solver
- refs/heads/feature/issue-2814-warmup-auto
- refs/heads/feature/issue-2881-dense-metric-decomposition
- refs/heads/feature/issue-2919-hmm
- refs/heads/feature/issue-319-manual-testing
- refs/heads/feature/issue-462-set-mass-matrix
- refs/heads/feature/issue-481_append_function_stan
- refs/heads/feature/issue-583-general-k-simplex-mixture-function
- refs/heads/feature/issue-586-csv-output-for-print-command
- refs/heads/feature/issue-646-csv-reader-max-depth
- refs/heads/feature/issue-795-remove-double-underscore
- refs/heads/feature/issue-826-resume-sampling
- refs/heads/feature/issue-math-185-ode-speed-benchmark
- refs/heads/feature/less-ps-point-creations
- refs/heads/feature/lvalue-matvar-slices
- refs/heads/feature/make_stan-functions
- refs/heads/feature/manual_new_logo
- refs/heads/feature/matvar-slices
- refs/heads/feature/memalloc-nuts
- refs/heads/feature/metropolis
- refs/heads/feature/model-requires
- refs/heads/feature/new-transform-inits
- refs/heads/feature/opencl-deserializer
- refs/heads/feature/optimized_hessian_result
- refs/heads/feature/other-cleanup-boost
- refs/heads/feature/parallel-adaptive
- refs/heads/feature/parallel-nuts
- refs/heads/feature/pathfinder
- refs/heads/feature/pathfinder-parallel
- refs/heads/feature/reader-constrain-template
- refs/heads/feature/reader-eigen-map
- refs/heads/feature/refactor_io_reader_writer
- refs/heads/feature/remove-virtualness-ps_point
- refs/heads/feature/require-templates
- refs/heads/feature/rhmc
- refs/heads/feature/serialize-free
- refs/heads/feature/skewsymmetricq
- refs/heads/feature/sparse-context
- refs/heads/feature/sparse-rvalue-read-write
- refs/heads/feature/speculative-nuts
- refs/heads/feature/stat_valid_test
- refs/heads/feature/timer
- refs/heads/feature/trajectory_diagnostic
- refs/heads/feature/updated_stepsize_adapt_target
- refs/heads/feature/varmat-assign
- refs/heads/feature/varmat-assignment
- refs/heads/feature/varmat-gradient
- refs/heads/feature/varmat-slices
- refs/heads/feature/varmat-special-matrices
- refs/heads/feature/vectorize_constrains
- refs/heads/feature/vectorized-constraints
- refs/heads/feature/windows-tests
- refs/heads/fix-for-v2.32.2
- refs/heads/fix-jenkins-replay-pr
- refs/heads/fix/check-range-rows-cols
- refs/heads/fix/deserializer-capacity-checks
- refs/heads/fix/empty-diagnostic-writer
- refs/heads/fix/empty-diagnostic-writer-2
- refs/heads/fix/indexing-include-orders
- refs/heads/fix/initialize-names
- refs/heads/fix/multi-path
- refs/heads/fix/multi-path1
- refs/heads/fix/nan-gq-values
- refs/heads/fix/no-in-const-reader
- refs/heads/fix/opencl-assign-test
- refs/heads/fix/remove-prog_grad
- refs/heads/fix/rvalue-vector
- refs/heads/fix/test_logger
- refs/heads/fix/unique_stream_writer-precision
- refs/heads/git-author-jenkinsfile
- refs/heads/hotfix-test-version
- refs/heads/introspection
- refs/heads/issue-2394-expose-normal_sufficient
- refs/heads/iwyu
- refs/heads/maintenance/issue-2401-remove-unnecessary-standalone-code
- refs/heads/master
- refs/heads/math/feature/faster-ad-tls-v6
- refs/heads/mcmc-crtp
- refs/heads/migrate-rtools-make
- refs/heads/model-base-get-sizes
- refs/heads/move-ci-to-flatiron-institute
- refs/heads/mpi_warmup_auto
- refs/heads/mpi_warmup_framework
- refs/heads/mpi_warmup_v2
- refs/heads/multi-chain-ex
- refs/heads/opencl_indexing
- refs/heads/opencl_indexing_v2
- refs/heads/parallel-nuts-2
- refs/heads/perf/ops
- refs/heads/perf/threaded-ad
- refs/heads/perf/threaded-ad3
- refs/heads/pin-gh-to-ubuntu2004
- refs/heads/pre-release/v2.30.0
- refs/heads/proto-parallel-warmup
- refs/heads/proto/multi-chain
- refs/heads/refactor/array-context-and-reader
- refs/heads/refactor/inline-mcmc
- refs/heads/refactor/rvalue-pass
- refs/heads/release-2.17.0
- refs/heads/release/v2.16.0
- refs/heads/release/v2.17.0
- refs/heads/release/v2.17.1
- refs/heads/release/v2.18.0
- refs/heads/release/v2.18.1
- refs/heads/release/v2.19.1
- refs/heads/release/v2.20.0
- refs/heads/release/v2.21.0
- refs/heads/release/v2.22.0
- refs/heads/release/v2.23.0
- refs/heads/release/v2.24.0
- refs/heads/release/v2.25.0
- refs/heads/release/v2.25.0-rc1
- refs/heads/release/v2.26.0
- refs/heads/release/v2.26.0-rc1
- refs/heads/release/v2.26.1
- refs/heads/release/v2.27.0
- refs/heads/release/v2.27.0-rc1
- refs/heads/release/v2.28.0
- refs/heads/release/v2.28.0-rc1
- refs/heads/release/v2.28.1
- refs/heads/release/v2.28.2
- refs/heads/release/v2.29.0
- refs/heads/release/v2.29.0-rc1
- refs/heads/release/v2.30.0
- refs/heads/release/v2.31.0
- refs/heads/release/v2.31.0-rc1
- refs/heads/release/v2.32.0
- refs/heads/release/v2.32.0-rc1
- refs/heads/release/v2.32.1
- refs/heads/release/v2.32.2
- refs/heads/release/v2.33.0
- refs/heads/release/v2.34.0
- refs/heads/release/v2.34.0-rc1
- refs/heads/release/v2.34.1
- refs/heads/remove-unused-variables
- refs/heads/research/advi-pareto-is
- refs/heads/research/gmo
- refs/heads/revert-2995-feature/bounds-no-inf
- refs/heads/revert-3048-opencl_indexing
- refs/heads/revert-3051-revert-3048-opencl_indexing
- refs/heads/revert-revert/rvalue
- refs/heads/review/parallel-nuts-no-get
- refs/heads/review1/speculative-nuts
- refs/heads/rvalue-matvar-slices
- refs/heads/skip-nonsc-cicd
- refs/heads/solve_quadprog
- refs/heads/stancon/syclik
- refs/heads/stuff_for_2.19
- refs/heads/syclik/forward-mode
- refs/heads/test-vector-array
- refs/heads/testing-var-branch
- refs/heads/testing/parallel-adapt
- refs/heads/tmp/multi-constraint
- refs/heads/update-version
- refs/heads/validate-dims-2_26-include
- refs/heads/validate-dims-ordering
- refs/heads/write_unconstrained_diagnostic
- refs/tags/v2.1.0
- refs/tags/v2.3.0
- refs/tags/v2.4.0
- refs/tags/v2.5.0
- a9a443fd262488a9bbe9b9f6113117332e87247b
- v2.9.0
- v2.8.0
- v2.7.0
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.34.1
- v2.34.0-rc1
- v2.34.0
- v2.33.0-rc1
- v2.33.0
- v2.32.2
- v2.32.1
- v2.32.0-rc1
- v2.32.0
- v2.31.0-rc1
- v2.31.0
- v2.30.0-rc1
- v2.30.0
- v2.29.2
- v2.29.1
- v2.29.0-rc1
- v2.29.0
- v2.28.2
- v2.28.1
- v2.28.0-rc1
- v2.28.0
- v2.27.0-rc1
- v2.27.0
- v2.26.1
- v2.26.0-rc1
- v2.26.0
- v2.25.0-rc1
- v2.25.0
- v2.24.0
- v2.23.0
- v2.22.1
- v2.22.0
- v2.21.0
- v2.20.0
- v2.2.0
- v2.19.1
- v2.19.0
- v2.18.1
- v2.18.0
- v2.17.1
- v2.17.0
- v2.16.0
- v2.15.0
- v2.14.0
- v2.13.1
- v2.13.0
- v2.12.0
- v2.11.0
- v2.10.0
- v2.0.1
- v2.0.0
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
Cook and download a directory from the Software Heritage Vault
You have requested the cooking of the directory with identifier None into a standard tar.gz archive
.
Are you sure you want to continue ?
Download a directory from the Software Heritage Vault
You have requested the download of the directory with identifier None as a standard tar.gz archive
.
Are you sure you want to continue ?
Cook and download a revision from the Software Heritage Vault
You have requested the cooking of the history heading to revision with identifier swh:1:rev:a9a443fd262488a9bbe9b9f6113117332e87247b into a bare git archive
.
Are you sure you want to continue ?
Download a revision from the Software Heritage Vault
You have requested the download of the history heading to revision with identifier swh:1:rev:a9a443fd262488a9bbe9b9f6113117332e87247b as a bare git archive
.
Are you sure you want to continue ?
Invalid Email !
The provided email is not well-formed.
Download link has expired
The requested archive is no longer available for download from the Software Heritage Vault.
Do you want to cook it again ?
Take a new snapshot of a software origin
If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.
Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.![swh spinner](/static/img/swh-spinner.gif)
Processing "take a new snapshot" request ...
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
code cleanup
<a href="http://mc-stan.org">
<img src="https://raw.githubusercontent.com/stan-dev/logos/master/logo.png" width=200 alt="Stan Logo"/>
</a>
<b>Stan</b> is a C++ package providing
* full Bayesian inference using the No-U-Turn sampler (NUTS), a variant of Hamiltonian Monte Carlo (HMC),
* approximate Bayesian inference using automatic differentiation variational inference (ADVI), and
* penalized maximum likelihood estimation (MLE) using L-BFGS optimization.
It is built on top of the [Stan Math library](https://github.com/stan-dev/math), which provides
* a full first- and higher-order automatic differentiation library based on C++ template overloads, and
* a supporting fully-templated matrix, linear algebra, and probability special function library.
There are interfaces available in R, Python, MATLAB, Julia, Stata, Mathematica, and for the command line.
[![DOI](https://zenodo.org/badge/19868/stan-dev/stan.svg)](https://zenodo.org/badge/latestdoi/19868/stan-dev/stan)
Home Page
---------
Stan's home page, with links to everything you'll need to use Stan is:
[http://mc-stan.org/](http://mc-stan.org/)
Interfaces
----------
There are separate repositories in the stan-dev GitHub organization for the interfaces, higher-level libraries and lower-level libraries.
Source Repository
-----------------
Stan's source-code repository is hosted here on GitHub.
Licensing
---------
The Stan math library, core Stan code, and CmdStan are licensed under new BSD. RStan and PyStan are licensed under GPLv3, with other interfaces having other open-source licenses.
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...