rng.h
Go to the documentation of this file.
1 // Copyright (C) 2001-2006 Klaas Gadeyne <first dot last at gmail dot com>
2 //
3 // This program is free software; you can redistribute it and/or modify
4 // it under the terms of the GNU Lesser General Public License as published by
5 // the Free Software Foundation; either version 2.1 of the License, or
6 // (at your option) any later version.
7 //
8 // This program is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 // GNU Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16 //
17 // Wrapper around several Pseudo RNG-libraries
18 #ifndef __ORO_PSEUDORNG__
19 #define __ORO_PSEUDORNG__
20 
21 #include "../../sample/sample.h"
22 
23 namespace BFL
24 {
25  // Sample from univariate normal distribution with mu and sigma
26  // Maybe this should become of type sample in the future!
27  double rnorm (const double & mu, const double & sigma);
28  double runif ();
29  double runif (const double & min, const double & max);
30 }
31 
32 #endif // __ORO_PSEUDORNG
double rnorm(const double &mu, const double &sigma)
double runif()


bfl
Author(s): Klaas Gadeyne, Wim Meeussen, Tinne Delaet and many others. See web page for a full contributor list. ROS package maintained by Wim Meeussen.
autogenerated on Mon Jun 10 2019 12:47:59