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

# PGAPrintPopulation(7)

Calls PGAPrintIndividual to print each member of a population

## NAME

PGAPrintPopulation - Calls PGAPrintIndividual to print each member of a population

## INPUT PARAMETERS

- ctx

  \- context variable

- fp

  \- file pointer to print the output to

- pop

  \- symbolic constant of the population to be printed

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGAPrintPopulation(ctx, fp, pop)
PGAContext *ctx
FILE *fp
int pop
```

## LOCATION

report.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGAPrintPopulation(ctx, stdout, PGA_NEWPOP);
```
