---
name: "PGAGetMaxRealInitValue"
section: "2"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGAGetMaxRealInitValue"
---

# PGAGetMaxRealInitValue(2)

returns the maximum value used to randomly initialize allele i in a real string

## NAME

PGAGetMaxRealInitValue - returns the maximum value used to randomly initialize allele i in a real string

## INPUT PARAMETERS

- ctx

  \- context variable

- i

  \- an allele position

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
double  PGAGetMaxRealInitValue(ctx, i)
PGAContext *ctx
int i
```

## LOCATION

real.c

## EXAMPLE

```
Example:
PGAContext *ctx;
int max;
:
max = PGAGetMaxRealInitValue(ctx, 0);
```
