zero_finder.cpp File Reference
#include "pass_bits/helper/astro_problems/zero_finder.hpp"
#include <math.h>
#include <valarray>
#include <vector>
Include dependency graph for zero_finder.cpp:

Macros

#define NUMERATOR(dab, dcb, fa, fb, fc)   fb *(dab * fc * (fc - fb) - fa * dcb * (fa - fb))
 
#define DENOMINATOR(fa, fb, fc)   (fc - fb) * (fa - fb) * (fa - fc)
 

Macro Definition Documentation

◆ DENOMINATOR

#define DENOMINATOR (   fa,
  fb,
  fc 
)    (fc - fb) * (fa - fb) * (fa - fc)

◆ NUMERATOR

#define NUMERATOR (   dab,
  dcb,
  fa,
  fb,
  fc 
)    fb *(dab * fc * (fc - fb) - fa * dcb * (fa - fb))