![]() |
Stan Math Library
5.2.0
Automatic Differentiation
|
|
inlineexplicit |
Construct a dense Eigen variable implementation from a preconstructed values and adjoints.
All constructed variables are not added to the stack. Variables should be constructed before variables on which they depend to insure proper partial derivative propagation.
| S | A dense Eigen type that is convertible to value_type |
| K | A dense Eigen type that is convertible to value_type |
| val | Matrix of values |
| adj | Matrix of adjoints |