Query: pgagetrealfrombinary
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PGAGetRealFromBinary(1) PGAPack PGAGetRealFromBinary(1)NAMEPGAGetRealFromBinary - Interpets a binary string as encoding a real value and returns the real value it represents.INPUT PARAMETERSctx - 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 lower - lower bound of the interval the real number is defined on upper - lower bound of the interval the real number is defined onOUTPUT PARAMETERSnoneSYNOPSIS#include "pgapack.h" double PGAGetRealFromBinary(ctx, p, pop, start, end, lower, upper) PGAContext *ctx int p int pop int start int end double lower double upperLOCATIONevaluate.cEXAMPLEExample: Decode a real value from the string p in population PGA_NEWPOP. The value to decode lies on the interval [-10,20] and is represented using the 20 bits in bit positions 10--29. double x; : x = PGAGetRealFromBinary(ctx, p, PGA_NEWPOP, 10, 29, -10.0, 20.0); 05/01/95 PGAGetRealFromBinary(1)
Related Man Pages |
---|
pgasetrealinitpercent(2) - debian |
pgasendreceiveindividual(4) - debian |
pgasetuserfunction(8) - debian |
gtk2::ruler(3) - suse |
gtk2::adjustment(3) - suse |