1#ifndef STAN_MATH_OPENCL_PRIM_FUN_CROSSPROD_HPP
2#define STAN_MATH_OPENCL_PRIM_FUN_CROSSPROD_HPP
19template <
typename T_A,
20 typename = require_all_kernel_expressions_and_none_scalar_t<T_A>>
Represents an arithmetic matrix on the OpenCL device.
auto transpose(Arg &&a)
Transposes a kernel generator expression.
matrix_cl< T > multiply_transpose(const matrix_cl< T > &A)
Computes the product of a square OpenCL matrix with its transpose.
matrix_cl< typename std::decay_t< T_A >::Scalar > crossprod(T_A &&A)
Returns the result of pre-multiplying a matrix by its own transpose.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...