Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::ref_type_if< Condition, T, require_all_t< is_eigen< T >, bool_constant<!is_arena_matrix< T >::value > > > Struct Template Reference

Detailed Description

template<bool Condition, typename T>
struct stan::ref_type_if< Condition, T, require_all_t< is_eigen< T >, bool_constant<!is_arena_matrix< T >::value > > >

Definition at line 32 of file ref_type.hpp.

#include <ref_type.hpp>

Public Types

using T_plain = plain_type_t< T >
 
using T_optionally_ref = std::conditional_t< std::is_rvalue_reference< T >::value, std::remove_reference_t< T >, const T & >
 
using T_dec = std::decay_t< decltype(std::declval< T >().derived())>
 
using type = std::conditional_t< Eigen::internal::traits< Eigen::Ref< std::decay_t< T_plain > > >::template match< T_dec >::MatchAtCompileTime||!Condition, T_optionally_ref, T_plain >
 

The documentation for this struct was generated from the following file: