Automatic Differentiation
 
Loading...
Searching...
No Matches
rowwise_reduction.hpp File Reference

Go to the source code of this file.

Classes

struct  stan::math::internal::matvec_mul_opt< Arg >
 Implementation of an optimization for usage of rowwise reduction in matrix-vector multiplication. More...
 
struct  stan::math::internal::matvec_mul_opt< elt_multiply_< Mat, broadcast_< VecT, true, false > > >
 
class  stan::math::rowwise_reduction< Derived, T, operation, PassZero >
 Represents a rowwise reduction in kernel generator expressions. More...
 
struct  stan::math::sum_op
 Operation for sum reduction. More...
 
class  stan::math::rowwise_sum_< T >
 Represents rowwise sum reduction in kernel generator expressions. More...
 
struct  stan::math::prod_op
 Operation for product reduction. More...
 
class  stan::math::rowwise_prod_< T >
 Represents rowwise product reduction in kernel generator expressions. More...
 
struct  stan::math::max_op< T >
 Operation for max reduction. More...
 
class  stan::math::rowwise_max_< T >
 Represents rowwise max reduction in kernel generator expressions. More...
 
struct  stan::math::min_op< T >
 Operation for min reduction. More...
 
class  stan::math::rowwise_min_< T >
 Represents rowwise min reduction 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.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename T , typename = require_all_kernel_expressions_and_none_scalar_t<T>>
auto stan::math::rowwise_sum (T &&a)
 Rowwise sum reduction of a kernel generator expression.
 
template<typename T , typename = require_all_kernel_expressions_and_none_scalar_t<T>>
auto stan::math::rowwise_prod (T &&a)
 Rowwise product reduction of a kernel generator expression.
 
template<typename T , typename = require_all_kernel_expressions_and_none_scalar_t<T>>
auto stan::math::rowwise_max (T &&a)
 Rowwise max reduction of a kernel generator expression.
 
template<typename T , typename = require_all_kernel_expressions_and_none_scalar_t<T>>
auto stan::math::rowwise_min (T &&a)
 Min reduction of a kernel generator expression.