.TH PGAGetStoppingRuleType 8 "05/01/95" " " "PGAPack" .SH NAME PGAGetStoppingRuleType \- Returns a symbolic constant that defines the termination criteria. .SH INPUT PARAMETERS .PD 0 .TP ctx - context variable .PD 1 .SH OUTPUT PARAMETERS .PD 0 .TP none .PD 1 .SH SYNOPSIS .nf #include "pgapack.h" int PGAGetStoppingRuleType(ctx) PGAContext *ctx .fi .SH LOCATION stop.c .SH EXAMPLE .nf Example: PGAContext *ctx; int stop; : stop = PGAGetStoppingRuleType(ctx); if (stop & PGA_STOP_MAXITER) printf("Stopping Rule = PGA_STOP_MAXITER\n"); if (stop & PGA_STOP_NOCHANGE) printf("Stopping Rule = PGA_STOP_NOCHANGE\n"); if (stop & PGA_STOP_TOOSIMILAR) printf("Stopping Rule = PGA_STOP_TOOSIMILAR\n"); .fi