pgagetintegerfromgraycode(1) debian man page | unix.com

Man Page: pgagetintegerfromgraycode

Operating Environment: debian

Section: 1

PGAGetIntegerFromGrayCode(1)					      PGAPack					      PGAGetIntegerFromGrayCode(1)

NAME
PGAGetIntegerFromGrayCode - interpets a binary reflected Gray code sequence as encoding an integer value and returns the integer value it represents.
INPUT PARAMETERS
ctx - context variable p - string index pop - symbolic constant of the population the string is in start - starting bit position in the binary representation end - ending bit position in the binary representation
OUTPUT PARAMETERS
none
SYNOPSIS
#include "pgapack.h" int PGAGetIntegerFromGrayCode(ctx, p, pop, start, end) PGAContext *ctx int p int pop int start int end
LOCATION
evaluate.c
EXAMPLE
Example: Get an integer j from bits 10--29 of string p in population PGA_NEWPOP. The string is encoded in Gray code. PGAContext *ctx; int j, p; : j = PGAGetIntegerFromGrayCode(ctx, p, PGA_NEWPOP, 10, 29); 05/01/95 PGAGetIntegerFromGrayCode(1)
Related Man Pages
pgaevaluate(1) - debian
hx509_validate_ctx_free(3) - freebsd
pgacreate(8) - debian
pgaduplicate(8) - debian
pgasetuserfunction(8) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
Detecting unused variables...
One instance of comparing grep and awk
How to copy a column of multiple files and paste into new excel file (next to column)?