Automatic Differentiation
 
Loading...
Searching...
No Matches
reduce_sum_static.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/functor/reduce_sum.hpp>
#include <tbb/task_arena.h>
#include <tbb/parallel_reduce.h>
#include <tbb/blocked_range.h>
#include <tuple>
#include <vector>

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 ReduceFunction , typename Vec , typename = require_vector_like_t<Vec>, typename... Args>
auto stan::math::reduce_sum_static (Vec &&vmapped, int grainsize, std::ostream *msgs, Args &&... args)
 Call an instance of the function ReduceFunction on every element of an input sequence and sum these terms.