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

Go to the source code of this file.

Classes

struct  stan::math::internal::csr_adjoint< Result_, WMat_, B_ >
 vari for csr_matrix_times_vector More...
 

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.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename Result_ , typename WMat_ , typename B_ >
void stan::math::internal::make_csr_adjoint (Result_ &&res, WMat_ &&w_mat, B_ &&b)
 Helper function to construct the csr_adjoint struct.
 
template<typename T1 , typename T2 , require_any_rev_matrix_t< T1, T2 > * = nullptr>
auto stan::math::csr_matrix_times_vector (int m, int n, const T1 &w, const std::vector< int > &v, const std::vector< int > &u, const T2 &b)