Automatic Differentiation
 
Loading...
Searching...
No Matches
acos.hpp File Reference

Go to the source code of this file.

Classes

struct  stan::math::acos_fun
 Structure to wrap acos() so it can be vectorized. More...
 

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.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

template<typename Container , require_not_container_st< std::is_arithmetic, Container > * = nullptr, require_not_var_matrix_t< Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr>
auto stan::math::acos (const Container &x)
 Returns the elementwise acos() of the input, which may be a scalar or any Stan container of numeric scalars.
 
template<typename Container , require_container_st< std::is_arithmetic, Container > * = nullptr>
auto stan::math::acos (const Container &x)
 Version of acos() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
 
template<typename V >
std::complex< V > stan::math::internal::complex_acos (const std::complex< V > &x)
 Return the arc cosine of the complex argument.