1#ifndef STAN_MATH_OPENCL_PRIM_FUN_TCROSSPROD_HPP
2#define STAN_MATH_OPENCL_PRIM_FUN_TCROSSPROD_HPP
19template <
typename T_A,
20 typename = require_all_kernel_expressions_and_none_scalar_t<T_A>>
23 = std::forward<T_A>(A);
Represents an arithmetic matrix on the OpenCL device.
matrix_cl< T > multiply_transpose(const matrix_cl< T > &A)
Computes the product of a square OpenCL matrix with its transpose.
Eigen::Matrix< value_type_t< EigMat >, EigMat::RowsAtCompileTime, EigMat::RowsAtCompileTime > tcrossprod(const EigMat &m)
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...