![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Helper function to construct the csr_adjoint struct.
| 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 |
| res | The vector result of the forward pass calculation |
| w_mat | A sparse matrix |
| b | A vector |
Definition at line 120 of file csr_matrix_times_vector.hpp.