Project Chrono: chrono::ChNormalDistribution Class Reference

Public Member Functions | List of all members
chrono::ChNormalDistribution Class Reference

## Description

Class that generates the Gauss Normal distribution (the 'bell' distribution).

`#include <ChRandom.h>`

Inheritance diagram for chrono::ChNormalDistribution:
[legend]
Collaboration diagram for chrono::ChNormalDistribution:
[legend]

## Public Member Functions
| ChNormalDistribution (double mean=0, double std_dev=1)
| Create a Normal distribution with assigned mean and standard deviation.
virtual double | GetRandom () override
| Compute a random value whose probability density is the normal distribution.
double | GetMean () const
double | GetSTD () const

## Member Function Documentation

## ◆ GetRandom()

double chrono::ChNormalDistribution::GetRandom | ( |  | ) |
| overridevirtual

Compute a random value whose probability density is the normal distribution.

Implements chrono::ChDistribution.

The documentation for this class was generated from the following files:

- D:/W/B/src/chrono-9.0.1/src/chrono/core/ChRandom.h
- D:/W/B/src/chrono-9.0.1/src/chrono/core/ChRandom.cpp