ifw-odp  2.0.0-alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
clipm_test_priv_optimize.c File Reference
#include <cpl.h>
#include <clipm.h>
#include "clipm_priv_optimize.h"
#include "clipm_priv_error.h"
#include "clipm_testlib.h"
#include <math.h>
#include <stdlib.h>

Macros

#define CHECK_TARGET_VALUE(param)   CLIPM_TRY_TESTLIB_ASSERT_ZERO( param - target_##param, 0.01)
 
#define CHECK_UNCERTAINTY_VALUE(param)   CLIPM_TRY_TESTLIB_ASSERT(param < 0.01 && param >= 0)
 
#define PRINT_VALUE(param)
 

Functions

void clipm_test_priv_optimize_gaussian (void)
 
void clipm_test_priv_optimize_downhill_simplex (void)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define CHECK_TARGET_VALUE (   param)    CLIPM_TRY_TESTLIB_ASSERT_ZERO( param - target_##param, 0.01)
#define CHECK_UNCERTAINTY_VALUE (   param)    CLIPM_TRY_TESTLIB_ASSERT(param < 0.01 && param >= 0)
#define PRINT_VALUE (   param)
Value:
#param" %f, target_"#param" %f", \
param, \
target_##param)
void clipm_testlib_msg_info(const char *format,...)
Display an information message.
Definition: clipm_testlib_base.c:338

Function Documentation

void clipm_test_priv_optimize_downhill_simplex ( void  )
void clipm_test_priv_optimize_gaussian ( void  )
int main ( int  argc,
char **  argv 
)