NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
interval.cpp File Reference
#include "interval.hpp"
#include "../kernel.hpp"
#include "utils/tools.hpp"
Include dependency graph for interval.cpp:

Go to the source code of this file.

Functions

size_t findVariableInExpression (const std::string &sExpr, const std::string &sVarName, size_t nPosStart)
 This function searches for the selected variable in the passed string and returns the position of the first occurence or string::npos, if nothing was found. More...
 

Function Documentation

◆ findVariableInExpression()

size_t findVariableInExpression ( const std::string &  sExpr,
const std::string &  sVarName,
size_t  nPosStart 
)

This function searches for the selected variable in the passed string and returns the position of the first occurence or string::npos, if nothing was found.

Parameters
sExprconst std::string&
sVarNameconst std::string&
nPosStartsize_t
Returns
size_t

Definition at line 42 of file parser_functions.cpp.

References isInQuotes().

Referenced by CodeAnalyzer::analysePreDefs(), Interval::contains(), Plot::createSubPlotSet(), findExtrema(), findZeroes(), SymDefManager::resolveSymbols(), and taylor().

Here is the call graph for this function: