Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81368942
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
Thu, Sep 5, 14:20
Size
1 KB
Mime Type
text/x-c
Expires
Sat, Sep 7, 14:20 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20556375
Attached To
R9490 Homework_sp4e_Peruzzo_SáezUribe
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