1#ifndef STAN_MATH_OPENCL_PRIM_MULTIPLY_LOWER_TRI_SELF_TRANSPOSE_HPP
2#define STAN_MATH_OPENCL_PRIM_MULTIPLY_LOWER_TRI_SELF_TRANSPOSE_HPP
19template <
typename T_x,
20 require_all_kernel_expressions_and_none_scalar_t<T_x>* =
nullptr>
23 if (x_eval.
size() == 0) {
const cl::Buffer & buffer() const
void add_read_event(cl::Event new_event) const
Add an event to the read event stack.
const tbb::concurrent_vector< cl::Event > & read_events() const
Get the events from the event stacks.
void add_write_event(cl::Event new_event) const
Add an event to the write event stack.
const tbb::concurrent_vector< cl::Event > & write_events() const
Get the events from the event stacks.
Represents an arithmetic matrix on the OpenCL device.
auto transpose(Arg &&a)
Transposes a kernel generator expression.
Eigen::Matrix< value_type_t< EigMat >, EigMat::RowsAtCompileTime, EigMat::RowsAtCompileTime > multiply_lower_tri_self_transpose(const EigMat &m)
static constexpr double e()
Return the base of the natural logarithm.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...