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

# PGAGetPopSize(8)

Returns the population size

## NAME

PGAGetPopSize - Returns the population size

## INPUT PARAMETERS

- ctx

  \- context variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
int  PGAGetPopSize(ctx)
PGAContext *ctx
```

## LOCATION

pop.c

## EXAMPLE

```
Example:
PGAContext *ctx;
int popsize;
:
popsize = PGAGetPopSize(ctx);
```
