GCBM
Namespaces | Macros | Variables
lmmin.cpp File Reference
#include "moja/modules/cbm/lmmin.h"
#include <vector>
#include <cmath>
Include dependency graph for lmmin.cpp:

Namespaces

 moja
 
 moja::modules
 
 moja::modules::cbm
 

Macros

#define _LMDIF
 
#define BUG   0
 
#define LM_MACHEP   .555e-16 /* resolution of arithmetic */
 
#define LM_DWARF   9.9e-324 /* smallest nonzero number */
 
#define LM_SQRT_DWARF   1.e-160 /* square should not underflow */
 
#define LM_SQRT_GIANT   1.e150 /* square should not overflow */
 
#define MIN(a, b)   (((a)<=(b)) ? (a) : (b))
 
#define MAX(a, b)   (((a)>=(b)) ? (a) : (b))
 
#define SQR(x)   (x)*(x)
 

Variables

const char * lm_infmsg []
 
const char * lm_shortmsg []
 

Macro Definition Documentation

◆ _LMDIF

#define _LMDIF

◆ BUG

#define BUG   0

◆ LM_DWARF

#define LM_DWARF   9.9e-324 /* smallest nonzero number */

◆ LM_MACHEP

#define LM_MACHEP   .555e-16 /* resolution of arithmetic */

◆ LM_SQRT_DWARF

#define LM_SQRT_DWARF   1.e-160 /* square should not underflow */

◆ LM_SQRT_GIANT

#define LM_SQRT_GIANT   1.e150 /* square should not overflow */

◆ MAX

#define MAX (   a,
 
)    (((a)>=(b)) ? (a) : (b))

◆ MIN

#define MIN (   a,
 
)    (((a)<=(b)) ? (a) : (b))

◆ SQR

#define SQR (   x)    (x)*(x)