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

# PGACheckSum(5)

maps a string to a number to be used a verification check PGA\_DATATYPE\_USER is not supported.

## NAME

PGACheckSum - maps a string to a number to be used a verification check PGA\_DATATYPE\_USER is not supported.

## INPUT PARAMETERS

- ctx

  \- context variable

- p

  \- string index

- pop

  \- symbolic constant for the population

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
int  PGACheckSum(ctx, p, pop)
PGAContext *ctx
int p
int pop
```

## LOCATION

utility.c

## EXAMPLE

```
Example:
PGAContext *ctx;
int p, sum;
:
sum = PGACheckSum(ctx, p, PGA_NEWPOP);
```
