Automatic Differentiation
 
Loading...
Searching...
No Matches
as_operation_cl.hpp File Reference

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.
 

Typedefs

template<typename T , assign_op_cl AssignOp = assign_op_cl::equals>
using stan::math::as_operation_cl_t = std::conditional_t< std::is_lvalue_reference< T >::value, decltype(as_operation_cl< AssignOp >(std::declval< T >())), std::remove_reference_t< decltype(as_operation_cl< AssignOp >(std::declval< T >()))> >
 Type that results when converting any valid kernel generator expression into operation.
 

Functions

template<assign_op_cl AssignOp = assign_op_cl::equals, typename T_operation , typename = std::enable_if_t<std::is_base_of< operation_cl_base, std::remove_reference_t<T_operation>>::value>>
T_operation && stan::math::as_operation_cl (T_operation &&a)
 Converts any valid kernel generator expression into an operation.
 
template<assign_op_cl AssignOp = assign_op_cl::equals, typename T_scalar , typename = require_arithmetic_t<T_scalar>, require_not_same_t< T_scalar, bool > * = nullptr>
scalar_< T_scalar > stan::math::as_operation_cl (const T_scalar a)
 Converts any valid kernel generator expression into an operation.
 
template<assign_op_cl AssignOp = assign_op_cl::equals>
scalar_< char > stan::math::as_operation_cl (const bool a)
 Converts any valid kernel generator expression into an operation.
 
template<assign_op_cl AssignOp = assign_op_cl::equals, typename T_matrix_cl , typename = require_any_t<is_matrix_cl<T_matrix_cl>, is_arena_matrix_cl<T_matrix_cl>>>
load_< T_matrix_cl, AssignOp > stan::math::as_operation_cl (T_matrix_cl &&a)
 Converts any valid kernel generator expression into an operation.