Stan Math Library
4.9.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 119 of file csr_matrix_times_vector.hpp.