NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
plugins.hpp File Reference
#include <string>
#include <cmath>
#include <mgl2/mgl.h>
#include "ui/error.hpp"
#include "datamanagement/memorymanager.hpp"
#include "io/output.hpp"
#include "settings.hpp"
#include "utils/tools.hpp"
#include "plotting/plotdata.hpp"
Include dependency graph for plugins.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string plugin_statistics (std::string &sCmd, MemoryManager &_data)
 This is the implementation of the stats command. More...
 
void plugin_histogram (std::string &sCmd)
 This function is the interface to both the 1D and the 2D histogram generation. More...
 
void plugin_random (std::string &sCmd)
 This function is the implementation of the random command. More...
 

Function Documentation

◆ plugin_histogram()

void plugin_histogram ( std::string &  sCmd)

This function is the interface to both the 1D and the 2D histogram generation.

Parameters
sCmdstd::string&
Returns
void

Definition at line 1653 of file plugin_histogram.cpp.

References MemoryManager::addTable(), HistogramParameters::binWidth, Indices::col, createHist1D(), createHist2D(), DataAccessParser::evalIndices(), evaluateTargetOptionInCommand(), findCommand(), findParameter(), FREEDMAN_DIACONIS, getArgAtPos(), MemoryManager::getCols(), DataAccessParser::getDataObject(), DataAccessParser::getIndices(), NumeReKernel::getInstance(), getIntervalDef(), MemoryManager::getLines(), NumeReKernel::getMemoryManager(), NumeReKernel::getOutput(), getParameterValue(), intCast(), VectorIndex::INVALID, SyntaxError::invalid_position, MemoryManager::isEmpty(), MemoryManager::isTable(), MemoryManager::isValid(), isValidIndexSet(), MemoryManager::matchTableAsParameter(), HistogramParameters::nBin, HistogramParameters::nMethod, SyntaxError::NO_CACHED_DATA, SyntaxError::NO_DATA_AVAILABLE, VectorIndex::OPEN_END, HistogramParameters::ranges, Indices::row, HistogramParameters::sAxisLabels, HistogramParameters::sBinLabel, SCOTT, HistogramParameters::sCountLabel, Output::setStatus(), VectorIndex::size(), HistogramParameters::sSavePath, HistogramParameters::sTable, StripSpaces(), StrToDb(), STURGES, SyntaxError::TABLE_DOESNT_EXIST, Ranges::x, Ranges::y, and Ranges::z.

Referenced by cmd_hist().

Here is the call graph for this function:

◆ plugin_random()

void plugin_random ( std::string &  sCmd)

◆ plugin_statistics()

std::string plugin_statistics ( std::string &  sCmd,
MemoryManager _data 
)