Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60662371
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
Wed, May 1, 19:30
Size
1 KB
Mime Type
text/x-c
Expires
Fri, May 3, 19:30 (2 d)
Engine
blob
Format
Raw Data
Handle
17392744
Attached To
R9484 sp4e-homework-lars-bertil
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