NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#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"
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... | |
void plugin_histogram | ( | std::string & | sCmd | ) |
This function is the interface to both the 1D and the 2D histogram generation.
sCmd | std::string& |
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().
void plugin_random | ( | std::string & | sCmd | ) |
This function is the implementation of the random command.
sCmd | std::string& |
Definition at line 87 of file plugin_random.cpp.
References _lang, date::abs(), BINOMIAL_DISTRIBUTION, Indices::col, evaluateTargetOptionInCommand(), findParameter(), GAMMA_DISTRIBUTION, Language::get(), getArgAtPos(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), getParameterValue(), NumeReKernel::getParser(), NumeReKernel::getSettings(), intCast(), SyntaxError::invalid_position, SyntaxError::NO_COLS, SyntaxError::NO_ROWS, NORMAL_DISTRIBUTION, POISSON_DISTRIBUTION, NumeReKernel::print(), Indices::row, VectorIndex::size(), STUDENT_DISTRIBUTION, toString(), UNIFORM_DISTRIBUTION, and MemoryManager::writeToTable().
Referenced by cmd_random().
std::string plugin_statistics | ( | std::string & | sCmd, |
MemoryManager & | _data | ||
) |
This is the implementation of the stats command.
sCmd | std::string& |
_data | MemoryManager& Might be different from the usual MemoryManager |
Definition at line 417 of file plugin_statistics.cpp.
References calcStats(), Indices::col, createStatsOutput(), evaluateTargetOptionInCommand(), findParameter(), getArgAtPos(), MemoryManager::getHeadLineElement(), NumeReKernel::getInstance(), NumeReKernel::getMemoryManager(), NumeReKernel::getOutput(), NumeReKernel::getSettings(), getStatFieldName(), SyntaxError::invalid_position, MemoryManager::isEmpty(), MemoryManager::isValid(), MemoryManager::matchTableAsParameter(), SyntaxError::NO_CACHED_DATA, SyntaxError::NO_DATA_AVAILABLE, Indices::row, MemoryManager::setHeadLineElement(), Output::setStatus(), VectorIndex::size(), STATS_AVG, STATS_FIELD_COUNT, STATS_NUM, and MemoryManager::writeToTable().
Referenced by cmd_stats().