Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
map_if.hpp File Reference
#include <stan/math/prim/functor/apply.hpp>
#include <stan/math/prim/functor/make_holder_tuple.hpp>
#include <stan/math/prim/meta.hpp>
#include <functional>
#include <tuple>
#include <utility>

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.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<template< typename... > class Filter, typename F , typename Arg >
constexpr decltype(auto) stan::math::internal::filter_fun (F &&f, Arg &&arg)
 
template<template< typename... > class Filter, typename F , typename Tuple , require_t< is_tuple< Tuple > > * = nullptr>
constexpr auto stan::math::map_if (F &&f, Tuple &&arg)
 
template<template< typename... > class Filter, typename F , typename Arg1 , typename... Args, require_t< bool_constant<!is_tuple< Arg1 >::value > > * = nullptr>
constexpr auto stan::math::map_if (F &&f, Arg1 &&arg1, Args &&... args)
 
template<template< typename... > class Filter, typename F , typename Arg , require_t< bool_constant<!is_tuple< Arg >::value > > * = nullptr>
constexpr decltype(auto) stan::math::map_if (F &&f, Arg &&arg)