math icon indicating copy to clipboard operation
math copied to clipboard

The Stan Math Library is a C++ template library for automatic differentiation of any order using forward, reverse, and mixed modes. It includes a range of built-in functions for probabilistic modelin...

Results 196 math issues
Sort by recently updated
recently updated
newest added

## Description The benefit of a low-rank MVN is that the determinant and inversion of the covariance matrix is much cheaper. I also believe that this could be useful for...

_From @a-hurst on December 4, 2018 22:59_ #### Summary: Attempting to run a model that uses the von_mises_lpdf() function will cause the sampler to error out immediately if kappa values...

bug

## Description @WardBrian brought up the idea of adding an ARCHITECTURE.md file to each of the Stan repos and I really like the idea. A long blog about these files...

The following model fails to initialize due to bad gradient if `s = 1` or `s = 2` but initializes fine when `s = 3` and `s = 4`. ```stan...

## Summary Our Github CI for Windows is significantly out of date with the current RTools windows toolchain, this PR updates the workflows to run using the latest RTools44 toolchain...

## Summary Github has updated the `macos-latest` to use [ARM64 macos](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories), this PR is to run the unit tests and identify edge-cases/issues like #2935 to be fixed ## Tests N/A...

## Summary This PR fixes a small bug in `multinomial_rng` and `multinomial_logit_rng`. While the lpmf functions accept a zero count vector, the RNGs do not accept a zero total count....

## Description For more details, see https://discourse.mc-stan.org/t/non-linear-modelling-michaelis-menten/22736/8 ## Example The gradient for `poisson_lpmf(0 | lambda)` is infinite at `lambda = 0`. ## Suggested fix @nhuurre writes on discourse: > We...

## Summary As discussed over in #2951, it would be useful to be able to iterate over nested containers and multiple arguments. This PR extends `scalar_seq_view` to work with `std::vector`...

## Summary As seen over in [this Stan issue](https://github.com/stan-dev/stan/issues/3285), it looks like the new `mixmax` RNG has some edge cases. This PR updates our tests to use the same RNG...