QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Namespaces | Functions
quantity.cpp File Reference
#include <ql/experimental/commodities/quantity.hpp>
#include <ql/experimental/commodities/unitofmeasureconversionmanager.hpp>
#include <ql/math/comparison.hpp>
#include <ql/errors.hpp>

Go to the source code of this file.

Namespaces

namespace  QuantLib
 

Functions

Real operator/ (const Quantity &m1, const Quantity &m2)
 
bool operator== (const Quantity &m1, const Quantity &m2)
 
bool operator< (const Quantity &m1, const Quantity &m2)
 
bool operator<= (const Quantity &m1, const Quantity &m2)
 
bool close (const Quantity &m1, const Quantity &m2, Size n)
 
bool close_enough (const Quantity &m1, const Quantity &m2, Size n)
 
std::ostream & operator<< (std::ostream &out, const Quantity &quantity)