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

◆ zeros_strict_tri()

template<typename T >
template<matrix_cl_view matrix_view>
void stan::math::matrix_cl< T >::zeros_strict_tri
inlineinherited

Stores zeros in the strict's triangular part (excluding the diagonal) of a matrix on the OpenCL device.

Supports writing zeroes to the lower and upper triangular. Throws if used with the Entire matrix_cl_view.

Template Parameters
viewSpecifies if zeros are assigned to the lower triangular or upper triangular. The value must be of type matrix_cl_view
Exceptions
<code>std::invalid_argument</code>if the matrix_view parameter is Entire.

Definition at line 32 of file zeros_strict_tri.hpp.