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

◆ set_view()

template<typename Derived , typename Scalar , typename... Args>
void stan::math::operation_cl_lhs< Derived, Scalar, Args >::set_view ( int  bottom_diagonal,
int  top_diagonal,
int  bottom_zero_diagonal,
int  top_zero_diagonal 
) const
inline

Sets the view of the underlying matrix depending on which of its parts are written to.

Parameters
bottom_diagonalIndex of the top sub- or super- diagonal written with nonzero elements.
top_diagonalIndex of the top sub- or super- diagonal written with nonzero elements.
bottom_zero_diagonalIndex 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_diagonalIndex 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 146 of file operation_cl_lhs.hpp.