![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/rev/meta.hpp>#include <stan/math/rev/core.hpp>#include <stan/math/rev/core/typedefs.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/prim/fun/Eigen.hpp>#include <stan/math/prim/fun/sign.hpp>#include <stan/math/prim/fun/norm1.hpp>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename Container , require_eigen_vector_vt< is_var, Container > * = nullptr> | |
| var | stan::math::norm1 (Container &&x) |
| Returns the L1 norm of a vector of var. | |
| template<typename Container , require_var_matrix_t< Container > * = nullptr> | |
| var | stan::math::norm1 (const Container &x) |
Returns the L1 norm of a var_value<Vector>. | |