Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::ClosurePlotPNG< NumberType > Class Template Reference

#include <closure_plot_png.hpp>

Public Member Functions

 ClosurePlotPNG ()
void setMappingMode (MappingMode mode)
MappingMode getMappingMode () const
void setSamplingEnabled (bool enabled)
bool isSamplingEnabled () const
ClosureResult cr (NumberType va, NumberType vb, NumberType result, double targetValue, double &normalizedError) const
template<char Op>
ClosureData< NumberType > generateClosureData (ClosureData< NumberType > &data) const
bool generatePNG (const ClosureData< NumberType > &data, const std::string &filename, const std::string &="") const
bool generateAllOperations (const std::string &systemName, const std::string &outputDir) const

Constructor & Destructor Documentation

◆ ClosurePlotPNG()

template<typename NumberType>
sw::universal::ClosurePlotPNG< NumberType >::ClosurePlotPNG ( )
inline

Member Function Documentation

◆ cr()

template<typename NumberType>
ClosureResult sw::universal::ClosurePlotPNG< NumberType >::cr ( NumberType va,
NumberType vb,
NumberType result,
double targetValue,
double & normalizedError ) const
inline

◆ generateAllOperations()

template<typename NumberType>
bool sw::universal::ClosurePlotPNG< NumberType >::generateAllOperations ( const std::string & systemName,
const std::string & outputDir ) const
inline

◆ generateClosureData()

template<typename NumberType>
template<char Op>
ClosureData< NumberType > sw::universal::ClosurePlotPNG< NumberType >::generateClosureData ( ClosureData< NumberType > & data) const
inline

◆ generatePNG()

template<typename NumberType>
bool sw::universal::ClosurePlotPNG< NumberType >::generatePNG ( const ClosureData< NumberType > & data,
const std::string & filename,
const std::string & = "" ) const
inline

◆ getMappingMode()

template<typename NumberType>
MappingMode sw::universal::ClosurePlotPNG< NumberType >::getMappingMode ( ) const
inline

◆ isSamplingEnabled()

template<typename NumberType>
bool sw::universal::ClosurePlotPNG< NumberType >::isSamplingEnabled ( ) const
inline

◆ setMappingMode()

template<typename NumberType>
void sw::universal::ClosurePlotPNG< NumberType >::setMappingMode ( MappingMode mode)
inline

◆ setSamplingEnabled()

template<typename NumberType>
void sw::universal::ClosurePlotPNG< NumberType >::setSamplingEnabled ( bool enabled)
inline

The documentation for this class was generated from the following file: