Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F66174816
my_types.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
Sat, Jun 8, 19:24
Size
1 KB
Mime Type
text/x-c
Expires
Mon, Jun 10, 19:24 (2 d)
Engine
blob
Format
Raw Data
Handle
18180297
Attached To
R9482 SP4E_Homework_Ashtari_Sieber
my_types.hh
View Options
#ifndef __MY_TYPES_HH__
#define __MY_TYPES_HH__
/* -------------------------------------------------------------------------- */
#include <iostream>
#include <complex>
using UInt = unsigned int;
using Real = double;
using complex = std::complex<Real>;
/* -------------------------------------------------------------------------- */
#define TO_IMPLEMENT \
{ \
std::cerr << std::endl \
<< std::endl \
<< "*********************************************************\n" \
<< "To be filled @ " << __FILE__ << ":" << __LINE__ << std::endl \
<< "*********************************************************\n" \
<< std::endl \
<< std::endl; \
throw; \
}
/* -------------------------------------------------------------------------- */
#endif /* __MY_TYPES_HH__ */
Event Timeline
Log In to Comment