Instigate Open Source Documentation

src/stl/_random_sample_n.hpp File Reference

Definition of the random_sample_n algorithm. More...

#include "concept.hpp"
#include "_distance.hpp"
#include "_min.hpp"
#include "_random_number.hpp"
#include "_advance.hpp"
#include "_basis.hpp"

Go to the source code of this file.

Namespaces

namespace  instigate
namespace  instigate::stl

Functions

template<typename F, typename O, typename D>
instigate::stl::random_sample_n (F b, F e, O o, const D n)
 The first interface of the random_sample_n algorithm.
template<typename F, typename O, typename D, typename G>
instigate::stl::random_sample_n (F b, F e, O o, const D n, const G &g)
 The second interface of the random_sample_n algorithm.


Detailed Description

Definition of the random_sample_n algorithm.

Copyright © 2008-2010 Instigate CJSC, Armenia

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Copyright © 1996-1999 Silicon Graphics Computer Systems, Inc.

Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

Copyright © 1994 Hewlett-Packard Company

Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appears in all copies and that both that copyright notice and this permission notice appear in supporting documentation. Hewlett-Packard makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.



© Instigate CJSC, Open Source