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

Go to the source code of this file.

Classes

struct  stan::math::sin_fun
 Structure to wrap sin() 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 T , require_arithmetic_t< T > * = nullptr>
auto stan::math::sin (const T x)
 Return the sine of the complex argument.
 
template<typename T , require_ad_container_t< T > * = nullptr>
auto stan::math::sin (const T &x)
 Vectorized version of sin().
 
template<typename Container , require_container_bt< std::is_arithmetic, Container > * = nullptr>
auto stan::math::sin (const Container &x)
 Version of sin() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
 
template<typename V >
std::complex< V > stan::math::internal::complex_sin (const std::complex< V > &z)
 Return the sine of the complex argument.