![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
Template specialization for scalar view of array y with scalar type T2. More...
#include <container_view.hpp>
Public Member Functions | |
container_view (const Eigen::Matrix< T1, R, C > &x, T2 *y) | |
Constructor. More... | |
T2 & | operator[] (int i) |
operator[](int i) returns reference to scalar of type T2 at appropriate index i in array y More... | |
Template specialization for scalar view of array y with scalar type T2.
T1 | scalar type of input matrix |
T2 | scalar type returned by view. |
R | rows of input matrix and view |
C | columns of input matrix and view |
Definition at line 58 of file container_view.hpp.
|
inline |
Constructor.
x | input matrix |
y | underlying array |
Definition at line 66 of file container_view.hpp.
|
inline |
operator[](int i) returns reference to scalar of type T2 at appropriate index i in array y
Definition at line 73 of file container_view.hpp.