|
geomc 1.0
A c++ linear algebra template library
|
Sampling from random distributions. More...
Classes | |
| struct | DenseUniformDistribution< T > |
| A random number generator that produces uniformly-distributed values. More... | |
| struct | DenseUniformDistribution< double > |
| Dense uniform distribution specialization for double. More... | |
| struct | DenseUniformDistribution< Dual< T, P > > |
| Dense uniform distribution specialization for Duals. More... | |
| struct | DenseUniformDistribution< float > |
| Dense uniform distribution specialization for float. More... | |
| struct | SampleShape< Shape > |
| Sample a point from a shape. More... | |
| struct | SampleShape< Cylinder< T, N > > |
| Sample a point from the interior of a cylinder. More... | |
| struct | SampleShape< Extruded< Shape > > |
| Sample a point from the interior of an extruded shape. More... | |
| struct | SampleShape< Hollow< Extruded< Hollow< Shape > > > > |
| Sample a point from the surface of an extruded shape with no endcaps. More... | |
| struct | SampleShape< Hollow< Extruded< Shape > > > |
| Sample a point from the boundary of an Extruded shape. More... | |
| struct | SampleShape< Hollow< Rect< T, N > > > |
| Sample a point from the boundary of a Rect. More... | |
| struct | SampleShape< Hollow< Sphere< T, N > > > |
| Sample a point from the surface of a sphere. More... | |
| struct | SampleShape< Rect< T, N > > |
| Sample a point from the interior of a rect. More... | |
| struct | SampleShape< Similar< Shape > > |
| Sample a point from the interior of a shape transformed by a Similarity. More... | |
| struct | SampleShape< Simplex< T, N > > |
| Sample a point from the interior of a simplex. More... | |
| struct | SampleShape< Sphere< T, N > > |
| Sample a point from the interior of a sphere. More... | |
| struct | SampleShape< SphericalCap< T, N > > |
| Sample a point from the surface of a spherical cap. More... | |
| struct | SampleShape< SphericalShell< T, N > > |
| Sample a point from within a spherical shell. More... | |
| struct | SampleShape< Transformed< Shape > > |
| Sample a point from the interior of a transformed shape. More... | |
Typedefs | |
| using | DefaultLCG |
| A default random number generator type. | |
Functions | |
| DefaultLCG | create_rng () |
| Create a new random number generator with a nondeterministic seed. | |
| template<typename T, index_t N, typename Generator> | |
| Vec< T, N > | random_gaussian (Generator &rng) |
| Generate a random vector drawn from a multivariate gaussian distribution with mean 0 and variance 1. | |
| template<typename T, index_t N, typename Generator> | |
| Vec< T, N > | random_unit (Generator &rng) |
| Generate a random vector with unit length. | |
Sampling from random distributions.
Classes conform to the patterns of the C++ <random> library and are intercompatible with it.
| using DefaultLCG |
A default random number generator type.