Query: pgasetcharacterallele
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGASetCharacterAllele(1) PGAPack PGASetCharacterAllele(1)NAMEPGASetCharacterAllele - sets the value of an allele in a PGA_DATATYPE_CHARACTER string.INPUT PARAMETERSctx - 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 toOUTPUT PARAMETERSside -effect.SYNOPSIS#include "pgapack.h" void PGASetCharacterAllele(ctx, p, pop, i, value) PGAContext *ctx int p int pop int i char valueLOCATIONchar.cEXAMPLECopies 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 |
|---|
| pgasetintegerinitrange(2) - debian |
| pgasetrealinitpercent(2) - debian |
| pgasetrealinitrange(2) - debian |
| pgasendreceiveindividual(4) - debian |
| hx509_cert_keyusage_print(3) - freebsd |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| Introduction |
| Weird 'find' results |
| My first PERL incarnation... Audio Oscillograph |