Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
subtract.hpp File Reference
#include <stan/math/opencl/matrix_cl.hpp>
#include <stan/math/opencl/kernels/subtract.hpp>
#include <stan/math/opencl/err/check_matching_dims.hpp>
#include <stan/math/opencl/err/check_opencl.hpp>
#include <CL/cl.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

auto stan::math::subtract (const matrix_cl &A, const matrix_cl &B)
 Matrix subtraction on the OpenCL device Subtracts the second matrix from the first matrix and stores the result in the third matrix (C=A-B) More...
 
auto stan::math::operator- (const matrix_cl &A, const matrix_cl &B)
 Matrix subtraction on the OpenCL device Subtracts the second matrix from the first matrix and stores the result in the third matrix (C=A-B) More...
 

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