<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalPerformanceShadersGraph",
  "identifier" : "/documentation/MetalPerformanceShadersGraph/MPSGraphRandomOpDescriptor/standardDeviation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal Performance Shaders Graph"
    ],
    "preciseIdentifier" : "c:objc(cs)MPSGraphRandomOpDescriptor(py)standardDeviation"
  },
  "title" : "standardDeviation"
}
-->

# standardDeviation

The standard deviation of the distribution.

```
var standardDeviation: Float { get set }
```

## Discussion

This value is used for Normal and Truncated Normal disributions.
For Truncated Normal distribution this defines the standard deviation parameter of the underlying Normal distribution, that is the width
of the Gaussian, not the true standard deviation of the truncated distribution which typically differs from the standard deviation of the
original Normal distribution.
Defaults to 0 for uniform distributions and 1 for normal distributions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)