Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions | Variables
scalar_mul_diagonal.hpp File Reference
#include <stan/math/opencl/kernel_cl.hpp>
#include <stan/math/opencl/buffer_types.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 
 stan::math::opencl_kernels
 

Functions

__kernel void stan::math::opencl_kernels::scalar_mul_diagonal (__global double *A, const double scalar, const unsigned int rows, const unsigned int min_dim)
 Multiplication of the matrix A diagonal with a scalar. More...
 

Variables

const kernel_cl< in_out_buffer, double, int, int > stan::math::opencl_kernels::scalar_mul_diagonal ("scalar_mul_diagonal", {indexing_helpers, scalar_mul_diagonal_kernel_code})
 See the docs for add() . More...
 

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