Changeset 2322 in Sophya
- Timestamp:
- Feb 11, 2003, 4:31:10 PM (23 years ago)
- Location:
- trunk
- Files:
-
- 165 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Eval/COS/pbseekios.cc
r1966 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream.h> 5 #include <fstream.h> 4 #include <iostream> 5 #include <fstream> 6 7 using namespace std; 6 8 7 9 int tstseqwrite(); -
trunk/SophyaExt/FitsIOServer/datacirclefits.cc
r1824 r2322 1 #include <iostream .h>1 #include <iostream> 2 2 #include "datacirclefits.h" 3 3 -
trunk/SophyaExt/FitsIOServer/fabtcolread.h
r2170 r2322 4 4 5 5 #include "machdefs.h" 6 #include <iostream .h>6 #include <iostream> 7 7 #include <string.h> 8 8 #include <string> -
trunk/SophyaExt/FitsIOServer/fabtwriter.h
r2174 r2322 4 4 5 5 #include "machdefs.h" 6 #include <iostream .h>6 #include <iostream> 7 7 #include <string.h> 8 8 #include <string> -
trunk/SophyaExt/FitsIOServer/fboloread.h
r1661 r2322 4 4 5 5 #include "machdefs.h" 6 #include <iostream .h>6 #include <iostream> 7 7 #include <string.h> 8 8 #include <string> -
trunk/SophyaExt/FitsIOServer/fbtntintf.h
r1646 r2322 4 4 5 5 #include "machdefs.h" 6 #include <iostream .h>6 #include <iostream> 7 7 #include <string.h> 8 8 #include <string> -
trunk/SophyaExt/LinAlg/intflapack.cc
r1566 r2322 1 #include <iostream .h>1 #include <iostream> 2 2 #include "intflapack.h" 3 3 #include "tvector.h" -
trunk/SophyaExt/XAstroPack/tstxastro.cc
r1811 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string.h> 6 6 #include <math.h> -
trunk/SophyaLib/BaseTools/complexios.h
r268 r2322 8 8 9 9 #include "machdefs.h" 10 #include <iostream .h>10 #include <iostream> 11 11 12 12 #if defined(NO_IOS_COMPLEX) -
trunk/SophyaLib/BaseTools/dvlist.h
r1310 r2322 9 9 10 10 #include <stdio.h> 11 #include <iostream .h>11 #include <iostream> 12 12 13 13 #include "mutyv.h" -
trunk/SophyaLib/BaseTools/fiondblock.cc
r1967 r2322 5 5 #include <stdio.h> 6 6 #include <stdlib.h> 7 #include <iostream .h>7 #include <iostream> 8 8 #include <complex> 9 9 #include "pexceptions.h" -
trunk/SophyaLib/BaseTools/fiondblock.h
r802 r2322 10 10 #include "ppersist.h" 11 11 #include "ndatablock.h" 12 #include <iostream .h>12 #include <iostream> 13 13 14 14 namespace SOPHYA { -
trunk/SophyaLib/BaseTools/machdefs_mkmf.h
r1889 r2322 246 246 247 247 248 /* (STREAMPOS_IS_CLASS non-active: ca compile sans sur gcc3.2 et cxx) 249 rz+cmv 11/02/03 */ 250 248 251 /* The following is true for most compilers */ 249 252 … … 275 278 #ifdef __GNUG__ 276 279 #define ANSI_TEMPLATES 277 // #define GNU_TEMPLATES 280 /* 281 if (__GNUC__ >= 3) 282 define STREAMPOS_IS_CLASS 283 endif 284 */ 285 #define GNU_TEMPLATES 278 286 #define HAS_STR_NPOS 279 287 #define HAS_IOS_BIN … … 337 345 #endif 338 346 339 #ifdef ANSI_IO 340 #define seekg(p_, m_) rdbuf()->pubseekoff(p_,m_) 341 #define seekp(p_, m_) rdbuf()->pubseekoff(p_,m_) 342 #endif 347 /* Commente par Reza+CMV - Fev 2003 348 ifdef ANSI_IO 349 define seekg(p_, m_) rdbuf()->pubseekoff(p_,m_) 350 define seekp(p_, m_) rdbuf()->pubseekoff(p_,m_) 351 endif 352 */ 343 353 344 354 #ifdef __MWERKS__ … … 360 370 #define NO_VALUES_H 361 371 #include "osx_values.h" 362 /* Faute de mieux pour le moment : */363 #define drand48() ((double)(random())/LONG_MAX)364 372 #endif 365 373 -
trunk/SophyaLib/BaseTools/mutyv.cc
r1607 r2322 7 7 #include <stdio.h> 8 8 9 #include <iostream .h>9 #include <iostream> 10 10 #include <string.h> 11 11 -
trunk/SophyaLib/BaseTools/mutyv.h
r1875 r2322 10 10 #include <string> 11 11 #include <complex> 12 #include <iostream .h>12 #include <iostream> 13 13 14 14 namespace SOPHYA { -
trunk/SophyaLib/BaseTools/ndatablock.cc
r1873 r2322 5 5 #include <stdio.h> 6 6 #include <stdlib.h> 7 #include <iostream .h>7 #include <iostream> 8 8 #include <complex> 9 9 #include "pexceptions.h" -
trunk/SophyaLib/BaseTools/ndatablock.h
r1623 r2322 9 9 #include <stdlib.h> /* pour que size_t soit defini */ 10 10 #include "anydataobj.h" 11 #include <iostream .h>11 #include <iostream> 12 12 13 13 namespace SOPHYA { -
trunk/SophyaLib/BaseTools/pexceptions.cc
r1960 r2322 1 1 #include "pexceptions.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include <stdio.h> 4 4 -
trunk/SophyaLib/BaseTools/ppersist.cc
r2111 r2322 6 6 #include "ppersist.h" 7 7 #include "anydataobj.h" 8 #include <fstream .h>9 #include <iostream .h>8 #include <fstream> 9 #include <iostream> 10 10 #include <typeinfo> 11 11 … … 478 478 479 479 // Find tag entries at end of file 480 #if (defined(Linux) || defined(Darwin)) && defined(__GNUG__) 480 #if (defined(Linux) || defined(Darwin)) && defined(__GNUG__) && (__GNUC__ < 3) 481 481 // There seems to be a bug where seekg with ios::end under Linux with g++ 482 482 // So, we use seek with ios::beg -
trunk/SophyaLib/HiStats/histos.h
r1413 r2322 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // 3 // $Id: histos.h,v 1.1 5 2001-02-20 18:29:48 ansariExp $3 // $Id: histos.h,v 1.16 2003-02-11 15:31:00 cmv Exp $ 4 4 // 5 5 … … 8 8 9 9 #include "objfio.h" 10 #include <iostream .h>10 #include <iostream> 11 11 #include <stdio.h> 12 12 #include "peida.h" -
trunk/SophyaLib/HiStats/ntuple.h
r1413 r2322 9 9 #include "objfio.h" 10 10 11 #include <iostream .h>11 #include <iostream> 12 12 #include <string> 13 13 #include <vector> -
trunk/SophyaLib/NTools/FSAppIrrSmpl.h
r1942 r2322 11 11 12 12 #include <math.h> 13 #include <iostream .h>13 #include <iostream> 14 14 15 15 -
trunk/SophyaLib/NTools/cspline.cc
r710 r2322 4 4 #include <stdio.h> 5 5 #include <math.h> 6 #include <iostream .h>6 #include <iostream> 7 7 8 8 #ifdef __MWERKS__ -
trunk/SophyaLib/NTools/dates.cc
r241 r2322 3 3 #include <string.h> 4 4 #include <stdio.h> 5 #include <iostream .h>5 #include <iostream> 6 6 #include <time.h> 7 7 #include <ctype.h> -
trunk/SophyaLib/NTools/dates.h
r1371 r2322 8 8 #include <string.h> 9 9 #include <string> 10 #include <iostream .h>10 #include <iostream> 11 11 #include "pexceptions.h" 12 12 -
trunk/SophyaLib/NTools/fct1dfit.cc
r926 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <math.h> 6 6 #include "fct1dfit.h" -
trunk/SophyaLib/NTools/fct2dfit.cc
r926 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <math.h> 6 6 #include "fct2dfit.h" -
trunk/SophyaLib/NTools/fftmserver.cc
r1402 r2322 1 1 #include "fftmserver.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include "fftmayer.h" 4 4 -
trunk/SophyaLib/NTools/fftpserver.cc
r1652 r2322 2 2 #include "fftpackc.h" 3 3 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 -
trunk/SophyaLib/NTools/generaldata.cc
r1783 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #ifndef NO_VALUES_H 6 6 #include <values.h> -
trunk/SophyaLib/NTools/generaldata.h
r1204 r2322 5 5 6 6 #include "objfio.h" 7 #include <iostream .h>7 #include <iostream> 8 8 #include "pexceptions.h" 9 9 #include "ppersist.h" -
trunk/SophyaLib/NTools/generalfit.cc
r1885 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <math.h> 6 6 #ifdef __MWERKS__ -
trunk/SophyaLib/NTools/perandom.cc
r1092 r2322 3 3 #include "perandom.h" 4 4 #include "pemath.h" 5 #include <iostream .h>5 #include <iostream> 6 6 7 7 //////////////////////////////////////////////////////////////////////////// -
trunk/SophyaLib/NTools/rk4cdifeq.cc
r1087 r2322 2 2 #include "rk4cdifeq.h" 3 3 #include "ctimer.h" 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 inline double max_dbl(double a, double b) { return ((a < b) ? b : a); } -
trunk/SophyaLib/NTools/slinparbuff.h
r1674 r2322 1 1 #include "machdefs.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include <stdlib.h> 4 4 #include <stdio.h> -
trunk/SophyaLib/SUtils/datacards.cc
r1609 r2322 1 1 // 2 // $Id: datacards.cc,v 1. 8 2001-07-31 14:02:38cmv Exp $2 // $Id: datacards.cc,v 1.9 2003-02-11 15:31:05 cmv Exp $ 3 3 // 4 4 // … … 12 12 #include "pexceptions.h" 13 13 #include <algorithm> 14 #include <iostream .h>15 #include <iomanip .h>14 #include <iostream> 15 #include <iomanip> 16 16 #include <stdio.h> 17 17 -
trunk/SophyaLib/SUtils/strutilxx.cc
r1238 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "strutilxx.h" -
trunk/SophyaLib/Samba/circle.h
r1770 r2322 7 7 8 8 #include <math.h> 9 #include <iostream .h>9 #include <iostream> 10 10 #include "vector3d.h" 11 11 #include "unitvector.h" -
trunk/SophyaLib/Samba/datacirclefake.cc
r1825 r2322 1 #include <iostream .h>1 #include <iostream> 2 2 #include "datacirclefake.h" 3 3 -
trunk/SophyaLib/Samba/mlobe.h
r1371 r2322 7 7 8 8 #include <math.h> 9 #include <iostream .h>9 #include <iostream> 10 10 11 11 #include "sphericalmap.h" -
trunk/SophyaLib/Samba/scan.h
r1371 r2322 8 8 9 9 #include "ppersist.h" 10 #include <iostream .h>10 #include <iostream> 11 11 #include "dvlist.h" 12 12 #include "ndatablock.h" -
trunk/SophyaLib/Samba/sphericaltransformserver.cc
r2313 r2322 1 1 #include "machdefs.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include <math.h> 4 4 #include <complex> -
trunk/SophyaLib/SkyMap/HEALPixUtils.cc
r2082 r2322 1 1 // utilitaires de pixelisation HEALPix 2 2 #include "HEALPixUtils.h" 3 #include <iostream .h>3 #include <iostream> 4 4 #include <math.h> 5 5 //#include <complex> -
trunk/SophyaLib/SkyMap/localmap.cc
r2290 r2322 6 6 7 7 #include <string.h> 8 #include <iostream .h>8 #include <iostream> 9 9 #include "timing.h" 10 10 -
trunk/SophyaLib/SkyMap/longlat.h
r1371 r2322 8 8 #include "machdefs.h" 9 9 #include <math.h> 10 #include <iostream .h>10 #include <iostream> 11 11 #include <stdio.h> 12 12 #include <string.h> -
trunk/SophyaLib/SkyMap/pixelmap.h
r2290 r2322 6 6 #include "dvlist.h" 7 7 #include "spherepos.h" 8 #include <iostream .h>8 #include <iostream> 9 9 10 10 namespace SOPHYA { -
trunk/SophyaLib/SkyMap/spherethetaphi.cc
r2303 r2322 4 4 #include "piocmplx.h" 5 5 #include "fiondblock.h" 6 #include <iostream .h>6 #include <iostream> 7 7 8 8 -
trunk/SophyaLib/SkyMap/unitvector.h
r1371 r2322 6 6 #define UNITVECTOR_H_SEEN 7 7 8 #include <iostream .h>8 #include <iostream> 9 9 #include <stdio.h> 10 10 #include <string.h> -
trunk/SophyaLib/SkyMap/utilgeom.cc
r764 r2322 1 #include "machdefs.h" 1 2 #include <math.h> 2 #include <iostream .h>3 #include <iostream> 3 4 #include "utilgeom.h" 4 5 //++ -
trunk/SophyaLib/SkyMap/vector3d.h
r1371 r2322 7 7 8 8 #include <math.h> 9 #include <iostream .h>9 #include <iostream> 10 10 #include <stdio.h> 11 11 #include <string.h> -
trunk/SophyaLib/SkyT/blackbody.cc
r2144 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: blackbody.cc,v 1. 7 2002-07-31 10:25:34 ansariExp $3 // $Id: blackbody.cc,v 1.8 2003-02-11 15:31:06 cmv Exp $ 4 4 // 5 5 // Description: … … 16 16 //--------------- 17 17 #include "machdefs.h" 18 #include <iostream .h>18 #include <iostream> 19 19 #include <math.h> 20 20 #include "blackbody.h" -
trunk/SophyaLib/SkyT/derivblackbody.cc
r2144 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: derivblackbody.cc,v 1. 5 2002-07-31 10:25:34 ansariExp $3 // $Id: derivblackbody.cc,v 1.6 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 16 16 //--------------- 17 17 #include "machdefs.h" 18 #include <iostream .h>18 #include <iostream> 19 19 #include <math.h> 20 20 #include "derivblackbody.h" -
trunk/SophyaLib/SkyT/gaussfilt.cc
r927 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: gaussfilt.cc,v 1. 6 2000-04-14 07:28:12 ansariExp $3 // $Id: gaussfilt.cc,v 1.7 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 14 14 //--------------- 15 15 #include "machdefs.h" 16 #include <iostream .h>16 #include <iostream> 17 17 #include <math.h> 18 18 -
trunk/SophyaLib/SkyT/nupower.cc
r927 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: nupower.cc,v 1. 7 2000-04-14 07:28:12 ansariExp $3 // $Id: nupower.cc,v 1.8 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 16 16 //--------------- 17 17 #include "machdefs.h" 18 #include <iostream .h>18 #include <iostream> 19 19 #include <math.h> 20 20 -
trunk/SophyaLib/SkyT/radspec.cc
r2144 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: radspec.cc,v 1. 6 2002-07-31 10:25:34 ansariExp $3 // $Id: radspec.cc,v 1.7 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 16 16 //--------------- 17 17 #include "machdefs.h" 18 #include <iostream .h>18 #include <iostream> 19 19 #include <typeinfo> 20 20 #include <math.h> -
trunk/SophyaLib/SkyT/radspec.h
r901 r2322 2 2 //-------------------------------------------------------------------------- 3 3 // File and Version Information: 4 // $Id: radspec.h,v 1. 5 2000-04-13 08:17:03 ansariExp $4 // $Id: radspec.h,v 1.6 2003-02-11 15:31:07 cmv Exp $ 5 5 // 6 6 // Description: … … 15 15 16 16 #include "machdefs.h" 17 #include <iostream .h>17 #include <iostream> 18 18 19 19 #include "specresp.h" -
trunk/SophyaLib/SkyT/radspecvector.cc
r927 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: radspecvector.cc,v 1. 7 2000-04-14 07:28:13 ansariExp $3 // $Id: radspecvector.cc,v 1.8 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 16 16 //--------------- 17 17 #include "machdefs.h" 18 #include <iostream .h>18 #include <iostream> 19 19 #include <math.h> 20 20 // #include <typeinfo> -
trunk/SophyaLib/SkyT/radspecvector.h
r901 r2322 13 13 #define RADSPECTRAVEC_H_SEEN 14 14 #include "machdefs.h" 15 #include <iostream .h>15 #include <iostream> 16 16 17 17 #include "radspec.h" -
trunk/SophyaLib/SkyT/specresp.h
r831 r2322 2 2 //-------------------------------------------------------------------------- 3 3 // File and Version Information: 4 // $Id: specresp.h,v 1. 4 2000-04-06 17:10:51 ansariExp $4 // $Id: specresp.h,v 1.5 2003-02-11 15:31:07 cmv Exp $ 5 5 // 6 6 // Description: … … 15 15 #include "machdefs.h" 16 16 #include "anydataobj.h" 17 #include <iostream .h>17 #include <iostream> 18 18 //------------------------------------ 19 19 // Collaborating Class Declarations -- -
trunk/SophyaLib/SkyT/specrespvector.cc
r927 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: specrespvector.cc,v 1. 8 2000-04-14 07:28:14 ansariExp $3 // $Id: specrespvector.cc,v 1.9 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 16 16 //--------------- 17 17 #include "machdefs.h" 18 #include <iostream .h>18 #include <iostream> 19 19 #include <math.h> 20 20 // #include <typeinfo> -
trunk/SophyaLib/SkyT/specrespvector.h
r831 r2322 2 2 //-------------------------------------------------------------------------- 3 3 // File and Version Information: 4 // $Id: specrespvector.h,v 1. 5 2000-04-06 17:11:03 ansariExp $4 // $Id: specrespvector.h,v 1.6 2003-02-11 15:31:07 cmv Exp $ 5 5 // 6 6 // Description: … … 14 14 15 15 #include "machdefs.h" 16 #include <iostream .h>16 #include <iostream> 17 17 18 18 #include "specresp.h" -
trunk/SophyaLib/SkyT/squarefilt.cc
r927 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: squarefilt.cc,v 1. 6 2000-04-14 07:28:14 ansariExp $3 // $Id: squarefilt.cc,v 1.7 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 14 14 //--------------- 15 15 #include "machdefs.h" 16 #include <iostream .h>16 #include <iostream> 17 17 18 18 #include "squarefilt.h" -
trunk/SophyaLib/SkyT/trianglefilt.cc
r927 r2322 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: trianglefilt.cc,v 1. 6 2000-04-14 07:28:14 ansariExp $3 // $Id: trianglefilt.cc,v 1.7 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 // Description: … … 14 14 //--------------- 15 15 #include "machdefs.h" 16 #include <iostream .h>16 #include <iostream> 17 17 18 18 #include "trianglefilt.h" -
trunk/SophyaLib/SysTools/ctimer.h
r895 r2322 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // 3 // $Id: ctimer.h,v 1. 3 2000-04-12 17:49:41 ansariExp $3 // $Id: ctimer.h,v 1.4 2003-02-11 15:31:07 cmv Exp $ 4 4 // 5 5 … … 11 11 #include <sys/types.h> 12 12 #include <time.h> 13 #include <iostream .h>13 #include <iostream> 14 14 #include <stdio.h> 15 15 #include <string> -
trunk/SophyaLib/SysTools/cxxcmplnk.cc
r2269 r2322 3 3 4 4 #include "cxxcmplnk.h" 5 #include <iostream .h>5 #include <iostream> 6 6 7 7 /*! -
trunk/SophyaLib/SysTools/pdlmgr.cc
r1929 r2322 9 9 #include <stdlib.h> 10 10 11 #include <iostream .h>11 #include <iostream> 12 12 13 13 -
trunk/SophyaLib/SysTools/resusage.cc
r2255 r2322 9 9 #include <time.h> 10 10 #include <fcntl.h> 11 #include <fstream .h>11 #include <fstream> 12 12 #include <stdio.h> 13 13 #include <string> -
trunk/SophyaLib/SysTools/resusage.h
r2256 r2322 8 8 9 9 #include "machdefs.h" 10 #include <iostream .h>10 #include <iostream> 11 11 12 12 namespace SOPHYA { -
trunk/SophyaLib/TArray/basarr.h
r2286 r2322 8 8 #include "machdefs.h" 9 9 #include <math.h> 10 #include <iostream .h>10 #include <iostream> 11 11 #include "anydataobj.h" 12 12 #include "mutyv.h" -
trunk/SophyaLib/TArray/fioarr.h
r958 r2322 7 7 8 8 #include "machdefs.h" 9 #include <iostream .h>9 #include <iostream> 10 10 #include "tarray.h" 11 11 #include "tmatrix.h" -
trunk/SophyaLib/TArray/matharr.cc
r1521 r2322 56 56 */ 57 57 template <class T> 58 TArray<T>& MathArray<T>::ApplyFunctionInPlace (TArray<T> & a, Arr_FloatFunctionOfX f)59 { 60 if (a.NbDimensions() < 1) 61 throw RangeCheckError("MathArray<T>::ApplyFunctionInPlace (TArray<T> & a..) Not Allocated Array a !");58 TArray<T>& MathArray<T>::ApplyFunctionInPlaceF(TArray<T> & a, Arr_FloatFunctionOfX f) 59 { 60 if (a.NbDimensions() < 1) 61 throw RangeCheckError("MathArray<T>::ApplyFunctionInPlaceF(TArray<T> & a..) Not Allocated Array a !"); 62 62 T * pe; 63 63 sa_size_t j,k; … … 104 104 */ 105 105 template <class T> 106 TArray<T> MathArray<T>::ApplyFunction (TArray<T> const & a, Arr_FloatFunctionOfX f)106 TArray<T> MathArray<T>::ApplyFunctionF(TArray<T> const & a, Arr_FloatFunctionOfX f) 107 107 { 108 108 TArray<T> ra; 109 109 ra = a; 110 ApplyFunctionInPlace (ra, f);110 ApplyFunctionInPlaceF(ra, f); 111 111 return(ra); 112 112 } -
trunk/SophyaLib/TArray/matharr.h
r1517 r2322 19 19 // Replaces the input array content with the result f(x) 20 20 virtual TArray<T>& ApplyFunctionInPlace(TArray<T> & a, Arr_DoubleFunctionOfX f); 21 virtual TArray<T>& ApplyFunctionInPlace (TArray<T> & a, Arr_FloatFunctionOfX f);21 virtual TArray<T>& ApplyFunctionInPlaceF(TArray<T> & a, Arr_FloatFunctionOfX f); 22 22 // Creates a new array and fills it with f(x) 23 23 virtual TArray<T> ApplyFunction(TArray<T> const & a, Arr_DoubleFunctionOfX f); 24 virtual TArray<T> ApplyFunction (TArray<T> const & a, Arr_FloatFunctionOfX f);24 virtual TArray<T> ApplyFunctionF(TArray<T> const & a, Arr_FloatFunctionOfX f); 25 25 // Computing Mean-Sigma 26 26 virtual double MeanSigma(TArray<T> const & a, double & mean, double & sig); -
trunk/SophyaLib/TArray/sopemtx.cc
r2147 r2322 3 3 #include "machdefs.h" 4 4 #include <stdio.h> 5 #include <iostream .h>5 #include <iostream> 6 6 #include <complex> 7 7 #include <math.h> -
trunk/SophyaLib/TArray/tarray.h
r2286 r2322 8 8 #include "machdefs.h" 9 9 #include <math.h> 10 #include <iostream .h>10 #include <iostream> 11 11 #include "basarr.h" 12 12 #include "ndatablock.h" -
trunk/SophyaLib/TArray/toeplitzMatrix.h
r1941 r2322 13 13 14 14 #include <math.h> 15 #include <iostream .h>15 #include <iostream> 16 16 17 17 #include "nbmath.h" -
trunk/SophyaPI/DemoPIApp/exmodule.cc
r1338 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <math.h> 6 6 -
trunk/SophyaPI/DemoPIApp/user.cc
r1338 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaPI/PI/piapplx.cc
r1592 r2322 17 17 #include <fcntl.h> 18 18 19 #include <iostream .h>19 #include <iostream> 20 20 21 21 -
trunk/SophyaPI/PI/piaxes.cc
r2295 r2322 6 6 #include "machdefs.h" 7 7 #include <stdio.h> 8 #include <iostream .h>8 #include <iostream> 9 9 #include <strings.h> 10 10 #include <math.h> -
trunk/SophyaPI/PI/piaxestools.cc
r2184 r2322 5 5 6 6 #include <stdlib.h> 7 #include <iostream .h>7 #include <iostream> 8 8 9 9 #include "piaxes.h" -
trunk/SophyaPI/PI/picmap.cc
r1503 r2322 4 4 5 5 #include "picmap.h" 6 #include <iostream .h>6 #include <iostream> 7 7 8 8 //++ -
trunk/SophyaPI/PI/picons.cc
r2119 r2322 1 #include "pisysdep.h" 1 2 #include <stdlib.h> 2 3 #include <stdio.h> 3 4 #include <string.h> 4 5 #include "pisysdep.h" 5 #include <ctype.h> 6 6 7 #include PIMENU_H 7 8 #include "picons.h" -
trunk/SophyaPI/PI/pidrawer.cc
r2301 r2322 6 6 #include "machdefs.h" 7 7 #include <strings.h> 8 #include <iostream .h>8 #include <iostream> 9 9 #include "pidrawer.h" 10 10 #include "pidrwtools.h" -
trunk/SophyaPI/PI/pidrwtools.cc
r2230 r2322 6 6 7 7 #include "pidrwtools.h" 8 #include <iostream .h>8 #include <iostream> 9 9 #include "piscdrawwdg.h" 10 10 #include "pi3dwdg.h" -
trunk/SophyaPI/PI/pieldrw.cc
r2295 r2322 5 5 #include "machdefs.h" 6 6 #include <strings.h> 7 #include <iostream .h>7 #include <iostream> 8 8 9 9 #include "pieldrw.h" -
trunk/SophyaPI/PI/pigraphgen.cc
r2301 r2322 7 7 #include "pigraphgen.h" 8 8 #include <math.h> 9 #include <iostream .h>9 #include <iostream> 10 10 #include "ucckprot.h" 11 11 -
trunk/SophyaPI/PI/pigraphuc.cc
r2264 r2322 4 4 5 5 #include "machdefs.h" 6 #include <iostream .h>6 #include <iostream> 7 7 #include "pigraphuc.h" 8 8 -
trunk/SophyaPI/PI/pigratt.cc
r2301 r2322 4 4 5 5 #include "pigratt.h" 6 #include <ctype.h> 6 7 7 8 #include <stdio.h> -
trunk/SophyaPI/PI/piimage.cc
r2262 r2322 5 5 6 6 7 #include "pisysdep.h" 7 8 #include <stdlib.h> 8 9 #include <stdio.h> 9 10 #include <string.h> 11 #include <ctype.h> 10 12 11 13 #include "piimage.h" -
trunk/SophyaPI/PI/pimenux.cc
r1512 r2322 1 1 #include<stdio.h> 2 #include<iostream .h>2 #include<iostream> 3 3 4 4 #include "pisysdep.h" -
trunk/SophyaPI/PI/piscdrawwdg.cc
r2262 r2322 5 5 #include "machdefs.h" 6 6 #include <math.h> 7 #include <iostream .h>7 #include <iostream> 8 8 9 9 #include "piscdrawwdg.h" -
trunk/SophyaPI/PIGcont/picntools.cc
r2301 r2322 7 7 #include "machdefs.h" 8 8 #include <string> 9 #include <iostream .h>9 #include <iostream> 10 10 11 11 #include "picntools.h" -
trunk/SophyaPI/PIGcont/pigncont.cc
r2301 r2322 9 9 #include <stdlib.h> 10 10 #include <assert.h> 11 #include <iostream .h>11 #include <iostream> 12 12 #include <math.h> 13 13 -
trunk/SophyaPI/PIext/contmodex.h
r1828 r2322 9 9 #include <stdio.h> 10 10 #include <stdlib.h> 11 #include <iostream .h>11 #include <iostream> 12 12 #include "piacmd.h" 13 13 #include "nobjmgr.h" -
trunk/SophyaPI/PIext/cxxexecutor.cc
r2287 r2322 347 347 <<"#include <ctype.h>"<<endl 348 348 <<"#include <string.h>"<<endl 349 <<"#include <iostream .h>"<<endl350 <<"#include <fstream .h>"<<endl349 <<"#include <iostream>"<<endl 350 <<"#include <fstream>"<<endl 351 351 <<"#include <complex>"<<endl 352 352 <<endl -
trunk/SophyaPI/PIext/cxxexecutor.h
r2287 r2322 10 10 #include <stdio.h> 11 11 #include <stdlib.h> 12 #include <iostream .h>12 #include <iostream> 13 13 14 14 #include <vector> -
trunk/SophyaPI/PIext/flowmodex.h
r1920 r2322 9 9 #include <stdio.h> 10 10 #include <stdlib.h> 11 #include <iostream .h>11 #include <iostream> 12 12 #include "piacmd.h" 13 13 #include "nobjmgr.h" -
trunk/SophyaPI/PIext/nobjmgr.cc
r2263 r2322 4 4 5 5 #include <typeinfo> 6 #include <iostream .h>6 #include <iostream> 7 7 #include <string> 8 8 #include <list> -
trunk/SophyaPI/PIext/nobjmgr.h
r1971 r2322 9 9 #include "machdefs.h" 10 10 11 #include <fstream .h>11 #include <fstream> 12 12 #include <string> 13 13 #include <vector> -
trunk/SophyaPI/PIext/nomgadapter.cc
r1315 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 #include "nomgadapter.h" -
trunk/SophyaPI/PIext/nomgfdadapter.cc
r1315 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaPI/PIext/nomhistadapter.cc
r1971 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaPI/PIext/nomimagadapter.cc
r1321 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaPI/PIext/nommatvecadapter.cc
r1971 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaPI/PIext/nomskymapadapter.cc
r2084 r2322 3 3 #include <math.h> 4 4 #include <typeinfo> 5 #include <iostream .h>5 #include <iostream> 6 6 #include <string> 7 7 #include <complex> -
trunk/SophyaPI/PIext/nomspecrespadapter.cc
r670 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaPI/PIext/nomstladapter.cc
r344 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaPI/PIext/nomtarradapter.cc
r1905 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 #include <complex> -
trunk/SophyaPI/PIext/nomtmatvecadapter.cc
r1971 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 #include <complex> -
trunk/SophyaPI/PIext/pawexecut.cc
r1920 r2322 2 2 #include <stdlib.h> 3 3 #include <ctype.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <typeinfo> 6 6 -
trunk/SophyaPI/PIext/pi2dvec.cc
r1920 r2322 9 9 #include <stdio.h> 10 10 #include <stdlib.h> 11 #include <iostream .h>11 #include <iostream> 12 12 #include <math.h> 13 13 -
trunk/SophyaPI/PIext/piacmd.h
r2274 r2322 8 8 9 9 #include "machdefs.h" 10 #include <iostream .h>11 #include <fstream .h>10 #include <iostream> 11 #include <fstream> 12 12 #include <string> 13 13 #include <vector> -
trunk/SophyaPI/PIext/piafitting.cc
r1911 r2322 9 9 #include <stdlib.h> 10 10 #include <ctype.h> 11 #include <iostream .h>11 #include <iostream> 12 12 #include <typeinfo> 13 13 -
trunk/SophyaPI/PIext/servnobjm.cc
r2180 r2322 4 4 5 5 #include <typeinfo> 6 #include <iostream .h>6 #include <iostream> 7 7 #include <string> 8 8 #include <list> -
trunk/SophyaPI/ProgPI/fitsbtadapter.cc
r2252 r2322 4 4 #include <stdio.h> 5 5 #include <typeinfo> 6 #include <iostream .h>6 #include <iostream> 7 7 #include <string.h> 8 8 #include <string> -
trunk/SophyaPI/ProgPI/piapp.cc
r2261 r2322 2 2 #include <stdio.h> 3 3 #include <unistd.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "pistdimgapp.h" -
trunk/SophyaPI/ProgPI/skymapmodule.cc
r2211 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <math.h> 6 6 -
trunk/SophyaPI/ProgPI/sopiamodule.cc
r2179 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <math.h> 6 6 -
trunk/SophyaPI/ProgPI/w2ps.cc
r1639 r2322 2 2 #include <stdio.h> 3 3 #include <stdlib.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <math.h> 6 6 -
trunk/SophyaProg/PMixer/easyTest.cc
r833 r2322 1 #include <iostream .h>1 #include <iostream> 2 2 #include "blackbody.h" 3 3 #include "radspecvector.h" -
trunk/SophyaProg/PMixer/pmixer.h
r1120 r2322 2 2 #include <stdlib.h> 3 3 #include <stdio.h> 4 #include <fstream .h>5 #include <iostream .h>4 #include <fstream> 5 #include <iostream> 6 6 #include <math.h> 7 7 -
trunk/SophyaProg/PrgMap/cl2map.cc
r1841 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "nbmath.h" -
trunk/SophyaProg/PrgMap/cremskfrsph.cc
r1632 r2322 6 6 #include <unistd.h> 7 7 #include <stdexcept> 8 #include <iostream .h>8 #include <iostream> 9 9 #include <stdio.h> 10 10 #include <stdlib.h> -
trunk/SophyaProg/PrgMap/extrap2sph.cc
r1841 r2322 7 7 #include <unistd.h> 8 8 #include <stdexcept> 9 #include <iostream .h>9 #include <iostream> 10 10 #include <stdio.h> 11 11 #include <stdlib.h> -
trunk/SophyaProg/PrgMap/extrapsph.cc
r1841 r2322 7 7 #include <unistd.h> 8 8 #include <stdexcept> 9 #include <iostream .h>9 #include <iostream> 10 10 #include <stdio.h> 11 11 #include <stdlib.h> -
trunk/SophyaProg/PrgMap/map2cl.cc
r2051 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "nbmath.h" -
trunk/SophyaProg/PrgMap/msksphere.cc
r1841 r2322 4 4 #include <unistd.h> 5 5 #include <stdexcept> 6 #include <iostream .h>6 #include <iostream> 7 7 #include <stdio.h> 8 8 #include <stdlib.h> -
trunk/SophyaProg/PrgMap/prjsmap.cc
r1841 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "nbmath.h" -
trunk/SophyaProg/PrgUtil/runcxx.cc
r1607 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>5 #include <fstream .h>4 #include <iostream> 5 #include <fstream> 6 6 7 7 #include <string> … … 251 251 <<"#include <ctype.h> \n" 252 252 <<"#include <string.h> \n" 253 <<"#include <iostream .h> \n"254 <<"#include <fstream .h> \n"253 <<"#include <iostream> \n" 254 <<"#include <fstream> \n" 255 255 <<"#include <complex> \n" 256 256 <<endl -
trunk/SophyaProg/PrgUtil/scanfits.cc
r1441 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "histinit.h" -
trunk/SophyaProg/PrgUtil/scanppf.cc
r1441 r2322 2 2 #include <stdlib.h> 3 3 #include <typeinfo> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaProg/Tests/arrt.cc
r1577 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>5 #include <fstream .h>4 #include <iostream> 5 #include <fstream> 6 6 7 7 #include "tarrinit.h" -
trunk/SophyaProg/Tests/carrt.cc
r1161 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "tarrinit.h" -
trunk/SophyaProg/Tests/fitsServTest.cc
r837 r2322 3 3 // 4 4 5 #include <iostream .h>5 #include <iostream> 6 6 #include "fitsioserver.h" 7 7 #include "tvector.h" -
trunk/SophyaProg/Tests/fitsioGorski.cc
r837 r2322 1 1 // Utilisation des flots d'entree-sortie C++ 2 #include <iostream .h>2 #include <iostream> 3 3 // Utilisation de la classe LocalMap<T> 4 4 #include "ntoolsinit.h" -
trunk/SophyaProg/Tests/fitsioImage.cc
r837 r2322 1 1 // Utilisation des flots d'entree-sortie C++ 2 #include <iostream .h>2 #include <iostream> 3 3 // Utilisation de la classe Image<T> 4 4 #include "ntoolsinit.h" -
trunk/SophyaProg/Tests/fitsioLocMap.cc
r837 r2322 1 1 // Utilisation des flots d'entree-sortie C++ 2 #include <iostream .h>2 #include <iostream> 3 3 // Utilisation de la classe LocalMap<T> 4 4 #include "ntoolsinit.h" -
trunk/SophyaProg/Tests/fitsioSphere.cc
r837 r2322 1 1 // Utilisation des flots d'entree-sortie C++ 2 #include <iostream .h>2 #include <iostream> 3 3 // Utilisation de la classe LocalMap<T> 4 4 #include "ntoolsinit.h" -
trunk/SophyaProg/Tests/jtcpitarr.cc
r1343 r2322 3 3 4 4 #include <math.h> 5 #include <iostream .h>5 #include <iostream> 6 6 #include <stdexcept> 7 7 -
trunk/SophyaProg/Tests/jtctarr.cc
r1033 r2322 3 3 4 4 #include <math.h> 5 #include <iostream .h>5 #include <iostream> 6 6 7 7 #include "tarrinit.h" -
trunk/SophyaProg/Tests/lpk.cc
r1567 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "srandgen.h" -
trunk/SophyaProg/Tests/obj_fits.cc
r1240 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "histinit.h" -
trunk/SophyaProg/Tests/ovharr.cc
r1726 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>5 #include <fstream .h>4 #include <iostream> 5 #include <fstream> 6 6 7 7 #include "tarrinit.h" -
trunk/SophyaProg/Tests/pizthr.cc
r1611 r2322 4 4 #include <math.h> 5 5 #include <unistd.h> 6 #include <iostream .h>6 #include <iostream> 7 7 #include <stdexcept> 8 8 -
trunk/SophyaProg/Tests/sphg0.cc
r857 r2322 1 #include <iostream .h>1 #include <iostream> 2 2 #include "sambainit.h" 3 3 #include "tod.h" -
trunk/SophyaProg/Tests/t_scan.cc
r768 r2322 1 1 // Utilisation des flots d'entree-sortie C++ 2 #include <iostream .h>2 #include <iostream> 3 3 4 4 #include <math.h> -
trunk/SophyaProg/Tests/tblitz.cc
r768 r2322 1 1 #include <stdio.h> 2 #include <iostream .h>2 #include <iostream> 3 3 #include "nbrandom.h" 4 4 #include "timing.h" -
trunk/SophyaProg/Tests/tcxxcmpldynl.cc
r2151 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "histinit.h" -
trunk/SophyaProg/Tests/tdcr.cc
r1205 r2322 2 2 #include <stdlib.h> 3 3 #include "math.h" 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaProg/Tests/testfitsio.cc
r837 r2322 3 3 // 4 4 5 #include <iostream .h>5 #include <iostream> 6 6 #include "fitsioserver.h" 7 7 #include "tvector.h" -
trunk/SophyaProg/Tests/tfft.cc
r1519 r2322 2 2 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "nbrandom.h" -
trunk/SophyaProg/Tests/thash.cc
r1171 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "ppersist.h" -
trunk/SophyaProg/Tests/timg.cc
r1161 r2322 1 1 // Utilisation des flots d'entree-sortie C++ 2 #include <iostream .h>2 #include <iostream> 3 3 // Utilisation de la classe Image<T> 4 4 #include "ntoolsinit.h" -
trunk/SophyaProg/Tests/tnt.cc
r1406 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 6 6 #include "histinit.h" -
trunk/SophyaProg/Tests/tobjio.cc
r1092 r2322 2 2 #include <stdlib.h> 3 3 #include "math.h" 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaProg/Tests/tobjio2.cc
r1092 r2322 2 2 #include <stdlib.h> 3 3 #include <math.h> 4 #include <iostream .h>4 #include <iostream> 5 5 #include <string> 6 6 -
trunk/SophyaProg/Tests/tspm.cc
r982 r2322 1 #include <iostream .h>1 #include <iostream> 2 2 #include "skymapinit.h" 3 3 #include "skymap.h" -
trunk/SophyaProg/Tests/tspm2.cc
r1119 r2322 1 #include <iostream .h>1 #include <iostream> 2 2 #include <math.h> 3 3 #include "sambainit.h" -
trunk/SophyaProg/Tests/tstboloread.cc
r1666 r2322 12 12 #include <stdio.h> 13 13 #include <stdlib.h> 14 #include <iostream .h>14 #include <iostream> 15 15 #include <values.h> 16 16 #include <string.h> -
trunk/SophyaProg/Tests/tstcolread.cc
r1666 r2322 4 4 #include <stdio.h> 5 5 #include <stdlib.h> 6 #include <iostream .h>6 #include <iostream> 7 7 #include <values.h> 8 8 #include <string.h> -
trunk/SophyaProg/Tests/tstndblk.cc
r1348 r2322 1 1 #include "machdefs.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include <stdlib.h> 4 4 #include <stdio.h> -
trunk/SophyaProg/Tests/tsttmat.cc
r1198 r2322 1 1 #include "machdefs.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include <stdlib.h> 4 4 #include <stdio.h> -
trunk/SophyaProg/Tests/tsttminv.cc
r1112 r2322 10 10 11 11 #include "machdefs.h" 12 #include <iostream .h>12 #include <iostream> 13 13 #include <stdlib.h> 14 14 #include <stdio.h> -
trunk/SophyaProg/Tests/tsttvec.cc
r1178 r2322 1 1 #include "machdefs.h" 2 #include <iostream .h>2 #include <iostream> 3 3 #include <stdlib.h> 4 4 #include <stdio.h> -
trunk/SophyaProg/Tests/zthr.cc
r1615 r2322 1 1 #include "zthread.h" 2 2 3 #include <iostream .h>3 #include <iostream> 4 4 5 5 #include <stdlib.h>
Note:
See TracChangeset
for help on using the changeset viewer.