Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102773073
Function.cpp
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
Mon, Feb 24, 01:22
Size
597 B
Mime Type
text/x-c
Expires
Wed, Feb 26, 01:22 (2 d)
Engine
blob
Format
Raw Data
Handle
24421139
Attached To
R1695 PCSC - Numerical Integration - Ollitrault Rouaze
Function.cpp
View Options
//
// Created by Pauline Ollitrault on 28.11.16.
//
#include "Function.hpp"
//Constructors
Function
::
Function
()
{}
Function
::
Function
(
const
std
::
string
function
)
{
SetFunction
(
function
);
}
//Setters
void
Function
::
SetFunction
(
const
std
::
string
function
)
{}
void
Function
::
SetExactValue
(
const
double
exact_value
)
{
m_exact_value
=
exact_value
;
}
//Getters
double
Function
::
GetExactValue
()
const
{
return
m_exact_value
;
}
//Evaluators
double
Function
::
Evaluate
(
double
x
)
{
return
0
;
}
std
::
vector
<
double
>
Function
::
EvaluateVect
(
std
::
vector
<
double
>
V
)
{
return
V
;
}
Event Timeline
Log In to Comment