![]() |
Stan Math Library
2.12.0
reverse mode automatic differentiation
|
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... | |
Dummy type specialization, used in conjunction with struct dummy as described above.
| T2 | type of scalar returned by view |
Definition at line 60 of file container_view.hpp.
| typedef stan::scalar_type<T2>::type stan::math::container_view< dummy, T2 >::scalar_t |
Definition at line 62 of file container_view.hpp.
|
inline |
Nothing initialized.
| x | input object |
| y | underlying array |
Definition at line 71 of file container_view.hpp.
|
inline |
operator[](int i)
| n | index |
| std::out_of_range | regardless of the input. |
Definition at line 79 of file container_view.hpp.