Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102678641
AbstractFunction.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 23, 04:25
Size
818 B
Mime Type
text/x-c++
Expires
Tue, Feb 25, 04:25 (1 d, 14 h)
Engine
blob
Format
Raw Data
Handle
24397532
Attached To
R1695 PCSC - Numerical Integration - Ollitrault Rouaze
AbstractFunction.hpp
View Options
//
// Created by Pauline Ollitrault on 28.11.16.
//
#ifndef NUMINT_FUNCTIONMANAGER_HPP
#define NUMINT_FUNCTIONMANAGER_HPP
#include <string>
#include <cassert>
#include "vectorFunctions.hpp"
class
AbstractFunction
{
/**
* @class AbstractFunction
* @brief Mother class for all function types.
*/
public
:
/**Constructors*/
AbstractFunction
();
/**Destructor*/
virtual
~
AbstractFunction
();
/**Setters*/
void
SetExactValue
(
const
double
exact_value
);
virtual
void
SetFunction
(
const
std
::
string
function
);
//Initializes the function
/**Getters*/
double
GetExactValue
()
const
;
private
:
/** If the exact value is known, it can be stored in this variable.
* Can be useful e.g. for error computations */
double
m_exact_value
;
};
#endif
//NUMINT_FUNCTIONMANAGER_HPP
Event Timeline
Log In to Comment