Returns the result of applying the identity constraint transform to the input.
This promotes the input to the least upper bound of the input types.
- Template Parameters
-
Jacobian | if true , increment log density accumulator with log absolute Jacobian determinant of constraining transform |
T | type of value to promote |
Types | Other types. |
- Parameters
-
- Returns
- transformed input
This specialization handles convert Eigen matrices of doubles to var matrix types.
- Template Parameters
-
T | Any type. |
Types | Any type with one of T and Types being a var_value matrix. |
- Parameters
-
- Returns
- transformed input
Definition at line 23 of file identity_constrain.hpp.