![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
vari for csr_matrix_times_vector 
csr_matrix_times_vector uses the old inheritance style to set up the reverse pass because of a linking issue on windows when using flto.| Result_ | Either a type inheriting from Eigen::DenseBase with scalar type var or a var<T> where T inherits from Eigen::DenseBase  | 
| WMat_ | Either a type inheriting from Eigen::DenseBase with scalar type var or double. Or a var<T> where T inherits from Eigen::SparseBase  | 
| B_ | Either a type inheriting from Eigen::DenseBase with scalar type var or double. Or a var<T> where T inherits from Eigen::DenseBase  | 
Definition at line 32 of file csr_matrix_times_vector.hpp.
#include <csr_matrix_times_vector.hpp>
 Inheritance diagram for stan::math::internal::csr_adjoint< Result_, WMat_, B_ >:Public Member Functions | |
| template<typename T1 , typename T2 , typename T3 > | |
| csr_adjoint (T1 &&res, T2 &&w_mat, T3 &&b) | |
| void | chain () | 
| template<typename Result , typename WMat , typename B , require_rev_matrix_t< WMat > * = nullptr, require_rev_matrix_t< B > * = nullptr> | |
| void | chain_internal (Result &&res, WMat &&w_mat, B &&b) | 
Overload for calculating adjoints of w_mat and b   | |
| template<typename Result , typename WMat , typename B , require_rev_matrix_t< WMat > * = nullptr, require_not_rev_matrix_t< B > * = nullptr> | |
| void | chain_internal (Result &&res, WMat &&w_mat, B &&b) | 
Overload for calculating adjoints of w_mat   | |
| template<typename Result , typename WMat , typename B , require_not_rev_matrix_t< WMat > * = nullptr, require_rev_matrix_t< B > * = nullptr> | |
| void | chain_internal (Result &&res, WMat &&w_mat, B &&b) | 
Overload for calculating adjoints of b   | |
Public Attributes | |
| std::decay_t< Result_ > | res_ | 
| std::decay_t< WMat_ > | w_mat_ | 
| std::decay_t< B_ > | b_ |