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

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

#include <is_constant.hpp>

Public Types

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

Detailed Description

template<typename T, int R, int C>
struct stan::is_constant< Eigen::Matrix< T, R, C > >

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

This is used in the is_constant_all metaprogram.

Template Parameters
Ttype of the elements in the Eigen Matrix
Rnumber of rows in the Eigen Matrix
Cnumber of cols in the eigen Matrix

Definition at line 19 of file is_constant.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T , int R, int C>
anonymous enum
Enumerator
value 

Definition at line 20 of file is_constant.hpp.


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

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