Stan Math Library  2.14.0
reverse mode automatic differentiation
Public Types | Public Member Functions | List of all members
stan::math::container_view< dummy, T2 > Class Template Reference

Dummy type specialization, used in conjunction with struct dummy as described above. More...

#include <container_view.hpp>

Public Types

typedef stan::scalar_type< T2 >::type scalar_t
 

Public Member Functions

template<typename T1 >
 container_view (const T1 &x, scalar_t *y)
 Nothing initialized. More...
 
scalar_t operator[] (int n) const
 operator[](int i) More...
 

Detailed Description

template<typename T2>
class stan::math::container_view< dummy, T2 >

Dummy type specialization, used in conjunction with struct dummy as described above.

Template Parameters
T2type of scalar returned by view

Definition at line 60 of file container_view.hpp.

Member Typedef Documentation

§ scalar_t

template<typename T2 >
typedef stan::scalar_type<T2>::type stan::math::container_view< dummy, T2 >::scalar_t

Definition at line 62 of file container_view.hpp.

Constructor & Destructor Documentation

§ container_view()

template<typename T2 >
template<typename T1 >
stan::math::container_view< dummy, T2 >::container_view ( const T1 &  x,
scalar_t y 
)
inline

Nothing initialized.

Parameters
xinput object
yunderlying array

Definition at line 71 of file container_view.hpp.

Member Function Documentation

§ operator[]()

template<typename T2 >
scalar_t stan::math::container_view< dummy, T2 >::operator[] ( int  n) const
inline

operator[](int i)

Parameters
nindex
Exceptions
std::out_of_rangeregardless of the input.

Definition at line 79 of file container_view.hpp.


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

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