Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63468274
write_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
Mon, May 20, 08:31
Size
492 B
Mime Type
text/x-c++
Expires
Wed, May 22, 08:31 (2 d)
Engine
blob
Format
Raw Data
Handle
17776658
Attached To
R9482 SP4E_Homework_Ashtari_Sieber
write_series.hh
View Options
#ifndef WRITE_SERIES_HH
#define WRITE_SERIES_HH
#include <string>
#include "dumper_series.hh"
class
WriteSeries
:
public
DumperSeries
{
private
:
unsigned
long
maxiter
;
std
::
string
sep
=
"
\t
"
;
//default separator
std
::
string
format
=
".txt"
;
//default file format
public
:
WriteSeries
(
Series
&
series
,
unsigned
long
N
)
:
DumperSeries
(
series
){
maxiter
=
N
;
}
void
setSeparator
(
std
::
string
separator
);
void
dump
(
std
::
ostream
&
os
=
std
::
cout
);
};
#endif
Event Timeline
Log In to Comment