Return the elementwise application of logit()
to specified argument container.
Version of logit() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
The return type promotes the underlying scalar argument type to double if it is an integer, and otherwise is the argument type.
- Template Parameters
-
Container | type of container |
- Parameters
-
- Returns
- elementwise logit of container elements
- Template Parameters
-
- Parameters
-
- Returns
- the logit of each variable in the container.
Note: The return must be evaluated otherwise the Ref object falls out of scope
Definition at line 90 of file logit.hpp.