Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77966732
Solution.h
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
Sat, Aug 17, 13:18
Size
767 B
Mime Type
text/x-c++
Expires
Mon, Aug 19, 13:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
19955878
Attached To
rODVPROJECT Group15_PCSC_Project
Solution.h
View Options
#ifndef PCSC_VECTORIALODE_GROUP15_SOLUTION_H
#define PCSC_VECTORIALODE_GROUP15_SOLUTION_H
using
namespace
std
;
#include "Input.h"
#include <vector>
/**
* \brief
*/
class
Solution
{
private:
int
number_of_rows
;
int
number_of_columns
;
vector
<
vector
<
double
>>
solutionODE
;
public:
Solution
();
//explicit Solution(int rows, int columns, const vector<vector<double>>& solution_matrix);
Solution
(
int
rows
,
int
columns
,
const
vector
<
vector
<
double
>>&
solution_matrix
);
double
GetSolutionValueFromIndex
(
int
rowsIndex
,
int
columnsIndex
)
const
;
void
ModifySolutionByColumns
(
vector
<
double
>&
vector
,
int
position
);
void
SolutionToFile
(
const
string
&
filename
)
const
;
~
Solution
();
};
#endif
//PCSC_VECTORIALODE_GROUP15_SOLUTION_H
Event Timeline
Log In to Comment