![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/opencl/matrix_cl_view.hpp>#include <stan/math/opencl/kernel_generator/type_str.hpp>#include <stan/math/opencl/kernel_generator/name_generator.hpp>#include <stan/math/opencl/kernel_generator/operation_cl_lhs.hpp>#include <stan/math/opencl/kernel_generator/as_operation_cl.hpp>#include <algorithm>#include <map>#include <string>#include <tuple>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| class | stan::math::diagonal_< T > |
| Represents diagonal of a matrix (as column vector) in kernel generator expressions. More... | |
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 , typename = require_all_kernel_expressions_and_none_scalar_t<T>> | |
| auto | stan::math::diagonal (T &&a) |
| Diagonal of a kernel generator expression. | |