Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Overload for calculating adjoints of b
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 double |
B | Either a type inheriting from Eigen::DenseBase with scalar type var or a var<T> where T inherits from Eigen::DenseBase |
res | The vector result of the forward pass calculation |
w_mat | A sparse matrix |
b | A vector |
Definition at line 99 of file csr_matrix_times_vector.hpp.