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

Defines a public enum named value and sets it to true if the type of the elements in the provided Eigen Block 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< Eigen::Block< T > >

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

This is used in the is_constant_all metaprogram.

Template Parameters
typeof the elements in the Eigen Block

Definition at line 31 of file is_constant.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
value 

Definition at line 32 of file is_constant.hpp.


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

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