![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
Template specialization for Eigen::Map view of array with scalar type T2 with size inferred from input Eigen::Matrix. More...
#include <container_view.hpp>
Public Member Functions | |
| container_view (const Eigen::Matrix< T1, R, C > &x, T2 *y) | |
| Initialize Map dimensions with input matrix dimensions. More... | |
| Eigen::Map< Eigen::Matrix< T2, R, C > > & | operator[] (int i) |
| operator[](int i) returns Eigen::Map y More... | |
Template specialization for Eigen::Map view of array with scalar type T2 with size inferred from input Eigen::Matrix.
| T1 | scalar type of input matrix |
| T2 | scalar type of view. |
| R | rows of input matrix and view |
| C | columns of input matrix and view |
Definition at line 23 of file container_view.hpp.
|
inline |
Initialize Map dimensions with input matrix dimensions.
| x | input matrix |
| y | underlying array |
Definition at line 32 of file container_view.hpp.
|
inline |
operator[](int i) returns Eigen::Map y
| i | index |
Definition at line 40 of file container_view.hpp.