Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Types | List of all members
stan::is_constant< std::vector< T > > Struct Template Reference

Defines a public enum named value and sets it to true if the type of the elements in the provided std::vector is constant, false otherwise. More...

#include <is_constant.hpp>

Public Types

enum  { value = is_constant<T>::value }
 

Detailed Description

template<typename T>
struct stan::is_constant< std::vector< T > >

Defines a public enum named value and sets it to true if the type of the elements in the provided std::vector is constant, false otherwise.

This is used in the is_constant_all metaprogram.

Template Parameters
typeof the elements in the std::vector

Definition at line 16 of file is_constant.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 17 of file is_constant.hpp.


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

     [ Stan Home Page ] © 2011–2018, Stan Development Team.