Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/opencl/opencl_context.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.hpp>
#include <stan/math/opencl/kernel_generator/as_operation_cl.hpp>
#include <stan/math/opencl/kernel_generator/colwise_reduction.hpp>
#include <stan/math/opencl/kernel_generator/rowwise_reduction.hpp>
#include <stan/math/opencl/kernel_generator/calc_if.hpp>
#include <map>
#include <string>
#include <type_traits>
#include <utility>
Go to the source code of this file.
Classes | |
class | stan::math::internal::reduction_2d_base |
class | stan::math::reduction_2d< Derived, T, Operation > |
Represents a two dimensional reduction in kernel generator expressions. More... | |
class | stan::math::sum_2d_< T > |
Represents two dimensional sum - reduction in kernel generator expressions. More... | |
class | stan::math::prod_2d_< T > |
Represents two dimensional product - reduction in kernel generator expressions. More... | |
class | stan::math::max_2d_< T > |
Represents two dimensional max - reduction in kernel generator expressions. More... | |
class | stan::math::min_2d_< T > |
Represents two dimensional min - reduction in kernel generator expressions. More... | |
struct | stan::math::internal::is_reduction_2d_impl< T > |
struct | stan::math::internal::is_reduction_2d_impl< calc_if_< true, T > > |
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. | |
namespace | stan::math::internal |
A comparator that works for any container type that has the brackets operator. | |
Typedefs | |
template<typename T > | |
using | stan::math::is_reduction_2d = internal::is_reduction_2d_impl< std::decay_t< T > > |
Check whether a kernel generator expression is a colwise reduction. | |
Functions | |
template<typename T , require_all_kernel_expressions_t< T > * = nullptr> | |
auto | stan::math::sum_2d (T &&a) |
Two dimensional sum - reduction of a kernel generator expression. | |
template<typename T , require_all_kernel_expressions_t< T > * = nullptr> | |
auto | stan::math::prod_2d (T &&a) |
Two dimensional product - reduction of a kernel generator expression. | |
template<typename T , require_all_kernel_expressions_t< T > * = nullptr> | |
auto | stan::math::max_2d (T &&a) |
Two dimensional max - reduction of a kernel generator expression. | |
template<typename T , require_all_kernel_expressions_t< T > * = nullptr> | |
auto | stan::math::min_2d (T &&a) |
Two dimensional min - reduction of a kernel generator expression. | |