D2MW  1.0
DRAGON2 for MilkyWay
utilities.h File Reference
#include <algorithm>
#include <cmath>
#include <vector>

Functions

double Interpol1D (double x, double xa, double xb, double ya, double yb)
 
void copy_vector_with_units (const std::vector< double > &v_old, std::vector< double > &v_new, double units=1.0)
 

Function Documentation

§ copy_vector_with_units()

void copy_vector_with_units ( const std::vector< double > &  v_old,
std::vector< double > &  v_new,
double  units = 1.0 
)

§ Interpol1D()

double Interpol1D ( double  x,
double  xa,
double  xb,
double  ya,
double  yb 
)