NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <memory>
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_cdf.h>
#include "memory.hpp"
#include "tablecolumnimpl.hpp"
#include "../../kernel.hpp"
#include "../io/file.hpp"
#include "../ui/error.hpp"
#include "../settings.hpp"
#include "../utils/tools.hpp"
#include "../version.h"
#include "../maths/resampler.h"
#include "../maths/statslogic.hpp"
#include "../maths/matdatastructures.hpp"
Go to the source code of this file.
Macros | |
#define | MAX_TABLE_SIZE 1e8 |
#define | MAX_TABLE_COLS 1e4 |
#define | DEFAULT_COL_TYPE ValueColumn |
Functions | |
static mu::value_type | nanAvg (const std::vector< mu::value_type > &values) |
This static helper function calculates the average value respecting NaNs. More... | |
static bool | closeEnough (double d1, double d2) |
Static helper function to ensure that two doubles are actually close enough to be considered equal. More... | |
static bool | closeEnough (const mu::value_type &v1, const mu::value_type &v2) |
Static helper function to ensure that two complex values are actually close enough to be considered equal. More... | |
static void | evaluateRankingStrategy (std::vector< mu::value_type > &vRank, size_t &nEqualRanks, Memory::RankingStrategy _strat) |
Evaluate the identical ranked values according the selected ranking strategy. More... | |
#define DEFAULT_COL_TYPE ValueColumn |
Definition at line 38 of file memory.cpp.
#define MAX_TABLE_COLS 1e4 |
Definition at line 37 of file memory.cpp.
#define MAX_TABLE_SIZE 1e8 |
Definition at line 36 of file memory.cpp.
|
static |
Static helper function to ensure that two complex values are actually close enough to be considered equal.
v1 | const mu::value_type& |
v2 | const mu::value_type& |
Definition at line 3125 of file memory.cpp.
References closeEnough().
|
static |
Static helper function to ensure that two doubles are actually close enough to be considered equal.
d1 | double |
d2 | double |
Definition at line 3109 of file memory.cpp.
References date::abs(), max, and min.
Referenced by closeEnough(), Memory::countIfEqual(), and Memory::getIndex().
|
static |
Evaluate the identical ranked values according the selected ranking strategy.
vRank | std::vector<mu::value_type>& |
nEqualRanks | size_t& |
_strat | Memory::RankingStrategy |
Definition at line 3465 of file memory.cpp.
References Memory::RANK_COMPETETIVE, Memory::RANK_DENSE, and Memory::RANK_FRACTIONAL.
Referenced by Memory::getRank().
|
static |
This static helper function calculates the average value respecting NaNs.
values | const std::vector<mu::value_type>& |
Definition at line 367 of file memory.cpp.
References mu::isnan().
Referenced by Memory::readMemInterpolated().