YARP
Yet Another Robot Platform
Loading...
Searching...
No Matches
Random.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3
* SPDX-FileCopyrightText: 2006-2010 RobotCub Consortium
4
* SPDX-License-Identifier: BSD-3-Clause
5
*/
6
7
#ifndef YARP_OS_RANDOM_H
8
#define YARP_OS_RANDOM_H
9
10
#include <
yarp/os/api.h
>
11
18
namespace
yarp::os
{
19
25
class
YARP_os_API
Random
26
{
27
public
:
32
static
double
uniform();
33
40
static
double
normal(
double
m,
double
s);
41
46
static
void
seed(
int
seed);
47
52
static
double
normal();
53
60
static
int
uniformInt(
int
min,
int
max);
61
};
62
63
}
// namespace yarp::os
64
65
#endif
// YARP_OS_RANDOM_H
yarp::os::Random
A collection of basic random number generation algorithms.
Definition
Random.h:26
yarp::os
An interface to the operating system, including Port based communication.
Definition
OSTestMsg.cpp:13
api.h
YARP_os_API
#define YARP_os_API
Definition
api.h:18
YARP
4.0.2
src
libYARP_os
src
yarp
os
Random.h
Generated on Wed Nov 11 2026 13:06:42 for YARP by
1.9.8