Automatic Differentiation
 
Loading...
Searching...
No Matches
matrix_cl_view.hpp File Reference
#include <stan/math/opencl/stringify.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <type_traits>

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.
 

Enumerations

enum class  stan::math::matrix_cl_view {
  stan::math::Diagonal = 0 ,
  stan::math::Lower = 1 ,
  stan::math::Upper = 2 ,
  stan::math::Entire = 3
}
 

Functions

const matrix_cl_view stan::math::either (const matrix_cl_view left_view, const matrix_cl_view right_view)
 Determines which parts are nonzero in any of the input views.
 
const matrix_cl_view stan::math::both (const matrix_cl_view left_view, const matrix_cl_view right_view)
 Determines which parts are nonzero in both input views.
 
bool stan::math::contains_nonzero (const matrix_cl_view view, const matrix_cl_view part)
 Check whether a view contains certain nonzero part.
 
const matrix_cl_view stan::math::transpose (const matrix_cl_view view)
 Transposes a view - swaps lower and upper parts.
 
const matrix_cl_view stan::math::invert (const matrix_cl_view view)
 Inverts a view.
 
matrix_cl_view stan::math::from_eigen_uplo_type (Eigen::UpLoType eigen_type)
 Creates a view from Eigen::UpLoType.
 
int stan::math::either (int left_view, int right_view)
 Determines which parts are nonzero in any of the input views.
 
int stan::math::both (int left_view, int right_view)
 Determines which parts are nonzero in both input views.
 
bool stan::math::contains_nonzero (int view, int part)
 Check whether a view contains certain nonzero part.