Stan Math Library  2.6.3
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
Namespaces | Functions
rank.hpp File Reference
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/err/check_range.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T >
size_t stan::math::rank (const std::vector< T > &v, int s)
 Return the number of components of v less than v[s]. More...
 
template<typename T , int R, int C>
size_t stan::math::rank (const Eigen::Matrix< T, R, C > &v, int s)
 Return the number of components of v less than v[s]. More...
 

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