Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/inv.hpp>
#include <stan/math/prim/fun/square.hpp>
#include <stan/math/prim/functor/apply_vector_unary.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_not_container_st< std::is_arithmetic, Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr> | |
auto | stan::math::inv_square (const Container &x) |
Returns 1 / square(x) . | |
template<typename Container , require_container_st< std::is_arithmetic, Container > * = nullptr> | |
auto | stan::math::inv_square (const Container &x) |
Version of inv_square() that accepts Eigen Matrix/Array objects or expressions. | |