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

# PGACheckStoppingConditions(8)

returns boolean to indicate if the PGAPack termination conditions -- PGA\_STOP\_MAXITER, PGA\_STOP\_TOOSIMILAR, PGA\_STOP\_NOCHANGE -- have been met.

## NAME

PGACheckStoppingConditions - returns boolean to indicate if the PGAPack termination conditions -- PGA\_STOP\_MAXITER, PGA\_STOP\_TOOSIMILAR,  PGA\_STOP\_NOCHANGE -- have been met.

## INPUT PARAMETERS

- ctx

  \- context variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

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

## LOCATION

stop.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGACheckStoppingConditions(ctx);
```
