Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Sets the view of the underlying matrix depending on which of its parts are written to.
Setting view to diagonal never changes view of the underlying matrix.
bottom_diagonal | Index of the top sub- or super- diagonal written with nonzero elements. |
top_diagonal | Index of the top sub- or super- diagonal written with nonzero elements. |
bottom_zero_diagonal | Index of the top sub- or super- diagonal written with zeros if it ie more extreme than bottom_diagonal . Otherwise it should be set to equal value as bottom_diagonal . |
top_zero_diagonal | Index of the top sub- or super- diagonal written with zeros if it ie more extreme than top_diagonal . Otherwise it should be set to equal value as top_diagonal . |
Definition at line 100 of file diagonal.hpp.