Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Transposes a kernel generator expression.
Transposition modifies how its argument is indexed. If a matrix is both an argument and result of such an operation (such as in a = transpose(a);
), the result will be wrong due to aliasing. In such case the expression should be evaluating in a temporary by doing a = transpose(a).eval();
.
Arg | type of the argument expression. |
a | argument to transposition |
Definition at line 139 of file transpose.hpp.