00001 /* 00002 * lambda.h 00003 * 00004 * Created on: Apr 30, 2010 00005 * Author: Brenda Javornik (e-mail: brendaj (at) cora.nwra.com) 00006 */ 00007 00008 #ifndef LAMBDA_H_ 00009 #define LAMBDA_H_ 00010 00016 typedef struct { 00017 double min; 00018 double max; 00019 int n; 00020 int log; 00021 double base; 00022 double mantissa; 00023 } LambdaSet; 00024 00025 LambdaSet *newLambdaSet(double min, double max, int linearSteps, int logStep); 00026 00027 void freeLambdaSet(LambdaSet *ls); 00028 00029 double nextLambdaValue(LambdaSet lambdaSet, int n); 00030 00031 #endif /* LAMBDA_H_ */