Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
sort_indices.hpp File Reference
#include <vector>
#include <algorithm>
#include <iostream>
#include <stan/math/matrix/Eigen.hpp>
#include <stan/math/matrix/meta/index_type.hpp>

Go to the source code of this file.

Namespaces

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

Functions

template<typename C >
std::vector< int > stan::math::sort_indices_asc (const C &xs)
 Return a sorted copy of the argument container in ascending order. More...
 
template<typename C >
std::vector< int > stan::math::sort_indices_desc (const C &xs)
 Return a sorted copy of the argument container in ascending order. More...
 

Variable Documentation

const C& xs_

Definition at line 26 of file sort_indices.hpp.


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