PGAGetRealAllele - Online in the Cloud

This is the command PGAGetRealAllele that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


PGAGetRealAllele - returns the value of real-valued allele i in string p in population pop

INPUT PARAMETERS


ctx - context variable
p - string index
pop - symbolic constant of the population the string is in
i - allele index

OUTPUT PARAMETERS


none

SYNOPSIS


#include "pgapack.h"
double PGAGetRealAllele(ctx, p, pop, i)
PGAContext *ctx
int p
int pop
int i

LOCATION


real.c

EXAMPLE


Example:
Returns the value of the ith real-valued allele of string p
in population PGA_NEWPOP

PGAContext *ctx;
int p, i, r;
r = PGAGetRealAllele (ctx, p, PGA_NEWPOP, i)

05/01/95 PGAGetRealAllele(1)

Use PGAGetRealAllele online using onworks.net services



Latest Linux & Windows online programs