---
title: MPSGraphRandomNormalSamplingMethod.boxMuller
framework: metalperformanceshadersgraph
role: symbol
role_heading: Case
path: metalperformanceshadersgraph/mpsgraphrandomnormalsamplingmethod/boxmuller
---

# MPSGraphRandomNormalSamplingMethod.boxMuller

Use Box Muller transform to convert uniform values to values in the normal distribution. For bounded distributions this is a rejection sampling method.

## Declaration

```swift
case boxMuller
```
