Stan Math Library
5.0.0
Automatic Differentiation
|
Functor for extracting the values and adjoints from a matrix of var or vari.
This functor is called using Eigen's NullaryExpr framework.
Definition at line 45 of file read_var.hpp.
#include <read_var.hpp>
Public Member Functions | |
val_adj_functor (const EigRev &arg1, EigDbl &arg2) | |
template<typename T = EigRev, require_st_same< T, var > * = nullptr> | |
decltype(auto) | operator() (Eigen::Index row, Eigen::Index col) const |
template<typename T = EigRev, require_st_same< T, var > * = nullptr> | |
decltype(auto) | operator() (Eigen::Index index) const |
template<typename T = EigRev, require_st_same< T, vari * > * = nullptr> | |
decltype(auto) | operator() (Eigen::Index row, Eigen::Index col) const |
template<typename T = EigRev, require_st_same< T, vari * > * = nullptr> | |
decltype(auto) | operator() (Eigen::Index index) const |
Private Attributes | |
const EigRev & | var_mat |
EigDbl & | val_mat |