Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Returns the elementwise abs()
of the input, which may be a scalar or any Stan container of numeric scalars.
Version of abs()
that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
Container | type of container |
x | argument |
Container | Type of x |
x | argument |