Stan Math Library  2.14.0
reverse mode automatic differentiation
Static Public Member Functions | List of all members
stan::math::sin_fun Struct Reference

Structure to wrap sin() so it can be vectorized. More...

#include <sin.hpp>

Static Public Member Functions

template<typename T >
static T fun (const T &x)
 

Detailed Description

Structure to wrap sin() so it can be vectorized.

Parameters
xAngle in radians.
Template Parameters
TArgument type.
Returns
Sine of x.

Definition at line 16 of file sin.hpp.

Member Function Documentation

§ fun()

template<typename T >
static T stan::math::sin_fun::fun ( const T &  x)
inlinestatic

Definition at line 18 of file sin.hpp.


The documentation for this struct was generated from the following file:

     [ Stan Home Page ] © 2011–2016, Stan Development Team.