projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r326: FFTW additions, filter image generation
[ctsim.git]
/
include
/
array2dfile.h
diff --git
a/include/array2dfile.h
b/include/array2dfile.h
index 754ad93a9d1df81138605fc684a81edf8db8a8a0..22e8b6173401fe6ed3d2dec6dccc4c2211e65af5 100644
(file)
--- a/
include/array2dfile.h
+++ b/
include/array2dfile.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: array2dfile.h,v 1.1
3 2000/12/29 19:30:08
kevin Exp $
+** $Id: array2dfile.h,v 1.1
4 2001/01/01 10:14:34
kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-165,6
+165,12
@@
public:
kuint32 ny (void) const
{ return m_ny; }
\r
kuint32 ny (void) const
{ return m_ny; }
\r
+ bool isComplex() const
\r
+ { return m_dataType == DATA_TYPE_COMPLEX; }
\r
+
\r
+ bool isReal() const
\r
+ { return m_dataType == DATA_TYPE_REAL; }
\r
+
\r
int dataType () const
\r
{ return static_cast<int>(m_dataType); }
\r
\r
int dataType () const
\r
{ return static_cast<int>(m_dataType); }
\r
\r