Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Compute the L1 norm of the specified vector of values.
Returns L1 norm of a vector.
T | Type of input vector. |
[in] | x | Vector of specified values. |
For vectors that equals the sum of magnitudes of its individual elements.
Container | type of the vector (must be derived from std::Vector ) |
v | Vector. |