Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
diagonal_multiply.hpp File Reference
#include <stan/math/opencl/matrix_cl.hpp>
#include <stan/math/opencl/err/check_opencl.hpp>
#include <stan/math/opencl/kernels/scalar_mul_diagonal.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

matrix_cl stan::math::diagonal_multiply (const matrix_cl &A, const double scalar)
 Multiplies the diagonal of a matrix on the OpenCL device with the specified scalar. More...
 

     [ Stan Home Page ] © 2011–2018, Stan Development Team.