CYCLUS
Namespaces | Functions
comp_math.cc File Reference
#include "comp_math.h"
#include <cmath>
#include <sstream>
#include "cyc_arithmetic.h"
#include "error.h"
#include "pyne.h"

Go to the source code of this file.

Namespaces

 cyclus
 
 cyclus::compmath
 

Functions

CompMap cyclus::compmath::Add (const CompMap &v1, const CompMap &v2)
 
bool cyclus::compmath::AllPositive (const CompMap &v)
 
bool cyclus::compmath::AlmostEq (const CompMap &v1, const CompMap &v2, double threshold)
 
void cyclus::compmath::ApplyThreshold (CompMap *v, double threshold)
 
void cyclus::compmath::Normalize (CompMap *v, double val=1.0)
 
CompMap cyclus::compmath::Sub (const CompMap &v1, const CompMap &v2)
 
double cyclus::compmath::Sum (const CompMap &v1)
 
bool cyclus::compmath::ValidNucs (const CompMap &v)