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