Stan Math Library
4.9.0
Automatic Differentiation
|
|
inlineexplicit |
Construct a dense Eigen variable implementation from a value.
The adjoint is initialized to zero.
All constructed variables are added to the no chain 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 |
x | Value of the constructed variable. |