![]() |
Stan Math Library
2.12.0
reverse mode automatic differentiation
|
VectorViewMvt with const correctness. More...
#include <VectorViewMvt.hpp>
Public Types | |
typedef scalar_type_pre< T >::type | matrix_t |
Public Member Functions | |
VectorViewMvt (const matrix_t &m) | |
VectorViewMvt (const std::vector< matrix_t > &vm) | |
const matrix_t & | operator[] (int i) const |
Allows the structure to be accessed like an array. More... | |
VectorViewMvt with const correctness.
Definition at line 72 of file VectorViewMvt.hpp.
typedef scalar_type_pre<T>::type stan::VectorViewMvt< const T, is_array, throw_if_accessed >::matrix_t |
Definition at line 74 of file VectorViewMvt.hpp.
|
inlineexplicit |
Definition at line 76 of file VectorViewMvt.hpp.
|
inlineexplicit |
Definition at line 78 of file VectorViewMvt.hpp.
|
inline |
Allows the structure to be accessed like an array.
If is_array is false, this will return the matrix it was constructed with. If is_array is true, This does not check bounds and will likely segfault if the index is out of range.
i | index. Only used if access is true. |
std::out_of_range | if the template parameter, throw_if_accessed, is true. |
Definition at line 91 of file VectorViewMvt.hpp.