Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Broadcast an expression in colwise dimmension if the number of rows equals to 1.
In that case further expressions can use this expression as if had any number of rows, repeating the values.
Broadcasting evaluates argument expression multiple times. For performance reasons don't broadcast slow operations. Instead evaluate them in a separate kernel.
T | type of input expression |
a | input expression |
Definition at line 241 of file optional_broadcast.hpp.