Stan Math Library
4.9.0
Automatic Differentiation
|
|
inlineexplicit |
Construct a matrix_cl variable implementation from an Eigen value.
The adjoint is initialized to zero.
All constructed variables are added to the stack. Variables should be constructed before variables on which they depend to insure proper partial derivative propagation. During derivative propagation, the chain() method of each variable will be called in the reverse order of construction.
S | A dense Eigen value or expression that has same scalar type as T |
x | Value of the constructed variable. |