Stan Math Library  2.14.0
reverse mode automatic differentiation
Namespaces | Functions
inv_sqrt.hpp File Reference
#include <stan/math/rev/core.hpp>
#include <stan/math/prim/scal/fun/inv_sqrt.hpp>
#include <valarray>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

var stan::math::inv_sqrt (const var &a)
 

\[ \mbox{inv\_sqrt}(x) = \begin{cases} \frac{1}{\sqrt{x}} & \mbox{if } -\infty\leq x \leq \infty \\[6pt] \textrm{NaN} & \mbox{if } x = \textrm{NaN} \end{cases} \]

More...
 

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