Stan  1.0
probability, sampling & optimization
Namespaces | Functions
util.hpp File Reference
#include <cmath>
#include <vector>
#include <cstring>

Go to the source code of this file.

Namespaces

 stan
 Probability, optimization and sampling library.
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

double stan::math::max (double a, double b)
 
double stan::math::max (std::vector< double > &x)
 
double stan::math::min (double a, double b)
 
double stan::math::dot (std::vector< double > &x, std::vector< double > &y)
 
double stan::math::dot_self (std::vector< double > &x)
 
void stan::math::scaled_add (std::vector< double > &x, std::vector< double > &y, double lambda)
 
void stan::math::sub (std::vector< double > &x, std::vector< double > &y, std::vector< double > &result)
 
double stan::math::dist (const std::vector< double > &x, const std::vector< double > &y)
 
double stan::math::sum (std::vector< double > &x)
 

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