![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <broadcast_array.hpp>
Public Member Functions | |
broadcast_array (T &prim) | |
T & | operator[] (int) |
template<typename Y > | |
void | operator= (const Y &m) |
We can assign any right hand side which allows for indexing to a broadcast_array. More... | |
Definition at line 10 of file broadcast_array.hpp.
|
inlineexplicit |
Definition at line 15 of file broadcast_array.hpp.
|
inline |
We can assign any right hand side which allows for indexing to a broadcast_array.
The idea is that the entry for the first index is what gets assigned. The most common use-case should be where the rhs is some container of length 1.
Definition at line 26 of file broadcast_array.hpp.
|
inline |
Definition at line 17 of file broadcast_array.hpp.