pgasetcharacterallele(1) debian man page | unix.com

Man Page: pgasetcharacterallele

Operating Environment: debian

Section: 1

PGASetCharacterAllele(1)					      PGAPack						  PGASetCharacterAllele(1)

NAME
PGASetCharacterAllele - sets the value of an allele in a PGA_DATATYPE_CHARACTER string.
INPUT PARAMETERS
ctx - context variable p - string index pop - symbolic constant of the population the string is in i - allele index val - character value to set the allele to
OUTPUT PARAMETERS
side -effect.
SYNOPSIS
#include "pgapack.h" void PGASetCharacterAllele(ctx, p, pop, i, value) PGAContext *ctx int p int pop int i char value
LOCATION
char.c
EXAMPLE
Copies the alleles from member p in PGA_OLDPOP to member q in PGA_NEWPOP. Assumes the strings are of the same length. PGAContext *ctx; int p, q, i; : for (i=PGAGetStringLength(ctx)-1; i>=0; i--) PGASetCharacterAllele(ctx, q, PGA_NEWPOP, i, PGAGetCharacterAllele(ctx, p, PGA_OLDPOP, i)) 05/01/95 PGASetCharacterAllele(1)
Related Man Pages
pgasendreceiveindividual(4) - debian
pgaduplicate(8) - debian
pgasortpop(8) - debian
hx509_validate_ctx_init(3) - freebsd
hx509_oid_sprint(3) - freebsd
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
Is UNIX an open source OS ?
Weird 'find' results
How to copy a column of multiple files and paste into new excel file (next to column)?