![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/opencl/matrix_cl.hpp>#include <stan/math/opencl/kernel_generator.hpp>#include <stan/math/opencl/err.hpp>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename T , require_matrix_cl_t< T > * = nullptr> | |
| auto | stan::math::rep_matrix (const value_type_t< T > &x, int n, int m) |
| Creates a matrix_cl by replicating the given value of arithmetic type. | |
| template<typename T , require_arithmetic_t< T > * = nullptr> | |
| auto | stan::math::rep_matrix (const matrix_cl< T > &x, int m) |
| Creates a matrix_cl by replicating the input vector or row_vector. | |