Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65275693
print_series.hh
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, Jun 2, 12:06
Size
617 B
Mime Type
text/x-c++
Expires
Tue, Jun 4, 12:06 (2 d)
Engine
blob
Format
Raw Data
Handle
18041204
Attached To
R9482 SP4E_Homework_Ashtari_Sieber
print_series.hh
View Options
#ifndef PRINT_SERIES_HH
#define PRINT_SERIES_HH
#include "dumper_series.hh"
class
PrintSeries
:
public
DumperSeries
{
public
:
// Constructor
PrintSeries
(
Series
&
series
,
unsigned
int
N
,
unsigned
int
freq
,
unsigned
int
precision
=
4
);
// Functions
void
dump
(
std
::
ostream
&
os
=
std
::
cout
);
// Definition of the dump for PRINT defined virtually in the mother class
private
:
// Members
unsigned
int
maxiter
;
// Maximum number of calculating series to see it convergence
unsigned
int
frequency
;
// Period of writing/printing the results
};
#endif
Event Timeline
Log In to Comment