Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
closure_plot_png.hpp File Reference
#include <vector>
#include <string>
#include <map>
#include <filesystem>
#include <cmath>
#include <iostream>
#include <execution>
#include <algorithm>
#include <universal/utility/png_encoder.hpp>
#include <universal/utility/error.hpp>

Classes

struct  sw::universal::ClosureData< NumberType >
class  sw::universal::ClosurePlotPNG< NumberType >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Enumerations

enum class  sw::universal::ClosureResult {
  sw::universal::EXACT , sw::universal::APPROXIMATION , sw::universal::OVERFLOW_ , sw::universal::UNDERFLOW_ ,
  sw::universal::NAN_NAR , sw::universal::SATURATE
}
enum class  sw::universal::MappingMode { sw::universal::ENCODING_DIRECT , sw::universal::VALUE_CENTERED }

Functions

std::ostream & sw::universal::operator<< (std::ostream &os, ClosureResult result)
template<typename NumberType>
bool sw::universal::generateClosurePlotsPNG (const std::string &systemName, const std::string &outputDir="closure_plots", MappingMode mode=MappingMode::VALUE_CENTERED, bool enableSampling=true)