Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ diagonal() [1/3]

template<typename T , typename = require_all_kernel_expressions_and_none_scalar_t<T>>
auto stan::math::diagonal ( T &&  a)
inline

Diagonal of a kernel generator expression.

Diagonal is represented as a column vector.

Template Parameters
Ttype of argument
Parameters
ainput argument
Returns
Diagonal of given expression

Definition at line 136 of file diagonal.hpp.