> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MultivariateDistributionTypes Class Reference

Part of [Data](https://developer.synopsys.com/docs/optislang/optislang-3d-postprocessing-script-api/group__data)

encalsulates ENUM constants defining supported distribution types

## Public Types

| Type | Name |
| - | - |
| enum | [enum\_type](#af7ca783694e51f78ef01ceb1e00104c5) \{  [NONE](#af7ca783694e51f78ef01ceb1e00104c5ac157bdf0b85a40d2619cbc8bc1ae5fe2) = 0, [TRUNCATED\_NORMAL](#af7ca783694e51f78ef01ceb1e00104c5a044ed55f25012eca585513e280ddc3e6), [GAUSSIAN](#af7ca783694e51f78ef01ceb1e00104c5afca8f51c9117fbb492a2184e9df9e412), [BETA](#af7ca783694e51f78ef01ceb1e00104c5afbaa3fc38bba7fcfaffd6e5d346288c9),  [GAMMA](#af7ca783694e51f78ef01ceb1e00104c5a61da26d1c3aae463f51b6fc2a99370eb), [GAMMA\_REVERSE](#af7ca783694e51f78ef01ceb1e00104c5a1696dbb89bac26001f2a9da5b874a2ea)  } an enum type defining all supported distribution types |

## Static Public Member Functions

| Type | Name |
| - | - |
| static [enum\_type](#af7ca783694e51f78ef01ceb1e00104c5) | [string2enum](#aabbdeb22ec5b0f4a791b361918554ba0) (string ident) tries to identify the distribution type enum from a string ident |

## Static Public Attributes

| Type | Name |
| - | - |
|  static std::vector\< string > | [type\_idents](#ab75ed3127e890876c2c499b114eaee78) a mapping between the enum representing the distribution type and a unique string ident Example: type\_idents\[TRUNCATED\_NORMAL] = "truncated normal"; |

## Detailed Description

encalsulates ENUM constants defining supported distribution types

> [!NOTE]
>
> Important: To access, this enum, do ONLY include this header in .CPP files!!! This is to avoid a recompilation of too many files if a single distribution type is added to the list of enums.

## Member Enumeration Documentation

### enum\_type

```cpp theme={null}
enum enum_type
```

an enum type defining all supported distribution types

| Enumerator | |
| - | - |
| NONE | no distribution (space holder) |
| TRUNCATED\_NORMAL | (left and right) truncated normal distribution |
| GAUSSIAN | Gaussian distribution. |
| BETA | Beta distribution with modifyable bounds. |
| GAMMA | Gamma distribution with modifyable left bound. |
| GAMMA\_REVERSE | Mirrored Gamma distribution being mirrored at the bound (being bounded to the right). |

## Member Function Documentation

### string2enum()

```cpp theme={null}
static enum_type string2enum(string ident)
```

`static`

tries to identify the distribution type enum from a string ident

**Parameters**

| Name | Description |
| - | - |
| ident | the string ident |

**Returns**

the enum ident

**Exceptions**

| Name | Description |
| - | - |
| exception | if the ident is not valid/existing |
