Return the elementwise natural log of the specified argument, which may be a scalar or any Stan container of numeric scalars.
Version of log()
that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
The return type is the same as the argument type.
- Template Parameters
-
Container | type of container |
- Parameters
-
- Returns
- Elementwise application of natural log to the argument.
- Template Parameters
-
- Parameters
-
- Returns
- Natural log of each variable in the container.
Definition at line 70 of file log.hpp.