Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/opencl/matrix_cl.hpp>
#include <stan/math/opencl/kernels/divide_columns.hpp>
#include <stan/math/opencl/err.hpp>
#include <CL/opencl.hpp>
Go to the source code of this file.
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T1 , typename T2 , typename = require_all_arithmetic_t<T1, T2>> | |
void | stan::math::divide_columns (matrix_cl< T1 > &A, const matrix_cl< T2 > &B) |
Divides each column of a matrix by a vector. | |
template<typename T1 , typename T2 , typename = require_all_arithmetic_t<T1, T2>> | |
void | stan::math::divide_columns (matrix_cl< T1 > &A, const T2 &divisor) |
Divides each column of a matrix by a scalar. | |