1 #ifndef __JEEP__JSCALE__
2 #define __JEEP__JSCALE__
15 namespace JPP {
using namespace JEEP; }
49 return pow(10.0, scale);
double getValue(const JScale_t scale)
Get numerical value corresponding to scale.
JScale_t
Enumeration for scaling of quantity.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
JScale_t getScale(const char unit)
Get scale corresponding to textual unit.
const char * getUnit(const int scale)
Get textual unit corresponding to scale.
Exception for accessing a value in a collection that is outside of its range.
void scale(vector< double > &v, double c)
scale vector content