Changeset 244 in Sophya for trunk/SophyaLib/NTools
- Timestamp:
- Apr 22, 1999, 6:18:52 PM (26 years ago)
- Location:
- trunk/SophyaLib/NTools
- Files:
-
- 47 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/NTools.o.list
r220 r244 25 25 nbrandom.o 26 26 nbtri.o 27 ndatablock.o 27 28 ntuple.o 28 29 outilsinit.o -
trunk/SophyaLib/NTools/cimage.cc
r220 r244 5 5 // LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA 6 6 7 // $Id: cimage.cc,v 1. 1.1.1 1999-04-09 17:57:57ansari Exp $8 9 10 #include " defs.h"7 // $Id: cimage.cc,v 1.2 1999-04-22 16:18:19 ansari Exp $ 8 9 10 #include "machdefs.h" 11 11 #include <string.h> 12 12 #include <stdio.h> -
trunk/SophyaLib/NTools/cspline.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 3 3 #include <stdlib.h> -
trunk/SophyaLib/NTools/cspline.h
r220 r244 2 2 #define CSPLINE_H_SEEN 3 3 4 #include "defs.h" 5 #include "machine.h" 4 #include "machdefs.h" 6 5 #include "cvector.h" 7 6 -
trunk/SophyaLib/NTools/cvector.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <string.h> 3 3 #include "cvector.h" -
trunk/SophyaLib/NTools/datacards.cc
r220 r244 1 // $Id: datacards.cc,v 1. 1.1.1 1999-04-09 17:57:55ansari Exp $1 // $Id: datacards.cc,v 1.2 1999-04-22 16:18:22 ansari Exp $ 2 2 // 3 3 // Datacards, acquisition EROS II … … 8 8 // DAPNIA/SPP (Saclay) / CEA 9 9 10 #include " defs.h"10 #include "machdefs.h" 11 11 #include "datacards.h" 12 12 #include <algorithm> -
trunk/SophyaLib/NTools/datatypes.cc
r220 r244 5 5 // LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA 6 6 7 #include "defs.h"8 7 #include "datatypes.h" 9 8 -
trunk/SophyaLib/NTools/datatypes.h
r220 r244 7 7 #define DATATYPES_H_SEEN 8 8 9 #include "mach ine.h"9 #include "machdefs.h" 10 10 11 11 -
trunk/SophyaLib/NTools/datime.c
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdlib.h> 3 3 #include <stdio.h> -
trunk/SophyaLib/NTools/difeq.cc
r220 r244 1 #include "defs.h"2 1 #include "difeq.h" 3 2 #include "ctimer.h" -
trunk/SophyaLib/NTools/difeq.h
r220 r244 3 3 #define DIFEQ_H_SEEN 4 4 5 #include " defs.h"6 #include " exceptions.h"5 #include "machdefs.h" 6 #include "pexceptions.h" 7 7 #include "cvector.h" 8 8 -
trunk/SophyaLib/NTools/dvlist.cc
r220 r244 3 3 // LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA 4 4 5 #include " defs.h"5 #include "machdefs.h" 6 6 #include <stdlib.h> 7 7 #include <stdio.h> -
trunk/SophyaLib/NTools/dynccd.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdlib.h> 3 3 #include <stdio.h> -
trunk/SophyaLib/NTools/dynccd.h
r220 r244 4 4 #define DYNCCD_H_SEEN 5 5 6 #include "mach ine.h"7 #include " exceptions.h"6 #include "machdefs.h" 7 #include "pexceptions.h" 8 8 #include "ppersist.h" 9 9 -
trunk/SophyaLib/NTools/fct1dfit.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdio.h> 3 3 #include <stdlib.h> -
trunk/SophyaLib/NTools/fct2dfit.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdio.h> 3 3 #include <stdlib.h> -
trunk/SophyaLib/NTools/generaldata.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdio.h> 3 3 #include <stdlib.h> -
trunk/SophyaLib/NTools/generaldata.h
r220 r244 2 2 #define GENERALDATA_SEEN 3 3 4 #include " exceptions.h"4 #include "pexceptions.h" 5 5 #include "ppersist.h" 6 6 #include "poly.h" -
trunk/SophyaLib/NTools/generalfit.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdio.h> 3 3 #include <stdlib.h> -
trunk/SophyaLib/NTools/generalfit.h
r220 r244 3 3 #define GENERALFIT_SEEN 4 4 5 #include " exceptions.h"5 #include "pexceptions.h" 6 6 #include "matrix.h" 7 7 #include "cvector.h" -
trunk/SophyaLib/NTools/hisprof.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <string.h> 3 3 #include <stdio.h> -
trunk/SophyaLib/NTools/histos.cc
r220 r244 1 1 // 2 // $Id: histos.cc,v 1. 1.1.1 1999-04-09 17:57:56 ansari Exp $3 // 4 5 #include " defs.h"2 // $Id: histos.cc,v 1.2 1999-04-22 16:18:36 ansari Exp $ 3 // 4 5 #include "machdefs.h" 6 6 #include <string.h> 7 7 #include <stdio.h> -
trunk/SophyaLib/NTools/histos2.cc
r241 r244 3 3 // 4 4 5 #include " defs.h"5 #include "machdefs.h" 6 6 7 7 #include <string.h> -
trunk/SophyaLib/NTools/histos2.h
r220 r244 6 6 #define HISTOS2_SEEN 7 7 8 #include " defs.h"8 #include "machdefs.h" 9 9 #include <string> 10 10 -
trunk/SophyaLib/NTools/imageop.cc
r237 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdio.h> 3 3 #include <stdlib.h> -
trunk/SophyaLib/NTools/integ.cc
r220 r244 1 #include "defs.h"2 1 #include "integ.h" 3 2 #include "generalfit.h" -
trunk/SophyaLib/NTools/integ.h
r220 r244 3 3 // integ.h 4 4 // 5 // $Id: integ.h,v 1. 1.1.1 1999-04-09 17:57:55ansari Exp $5 // $Id: integ.h,v 1.2 1999-04-22 16:18:40 ansari Exp $ 6 6 // 7 7 … … 9 9 #define INTEG_H_SEEN 10 10 11 #include " defs.h"12 #include " exceptions.h"11 #include "machdefs.h" 12 #include "pexceptions.h" 13 13 #include <set> 14 14 #if defined(__KCC__) -
trunk/SophyaLib/NTools/linfit.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include "peida.h" 3 3 #include "linfit.h" -
trunk/SophyaLib/NTools/matrix.cc
r220 r244 1 // $Id: matrix.cc,v 1. 1.1.1 1999-04-09 17:57:56ansari Exp $2 3 #include " defs.h"1 // $Id: matrix.cc,v 1.2 1999-04-22 16:18:41 ansari Exp $ 2 3 #include "machdefs.h" 4 4 #include <string.h> 5 5 #include <iostream.h> -
trunk/SophyaLib/NTools/median.h
r220 r244 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 3 #include " defs.h"3 #include "machdefs.h" 4 4 5 5 // Filtre median, retourne la valeur mediane du tableau tab. -
trunk/SophyaLib/NTools/nbmath.h
r220 r244 4 4 #define NBMATH_H_SEEN 5 5 6 #include <machine.h>6 #include "machdefs.h" 7 7 8 8 #ifdef __cplusplus -
trunk/SophyaLib/NTools/nbrandom.c
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include <stdlib.h> 3 3 #include <stdio.h> 4 4 #include <string.h> 5 #include <math.h> 5 6 #include <sys/time.h> 6 #include "mach ine.h"7 #include "machdefs.h" 7 8 #include "nbmath.h" 8 9 #include "nbrandom.h" -
trunk/SophyaLib/NTools/nbrandom.h
r220 r244 5 5 #define NBRANDOM_H_SEEN 6 6 7 #include " defs.h"7 #include "machdefs.h" 8 8 #include <stdlib.h> 9 9 #ifdef __mac__ -
trunk/SophyaLib/NTools/nbtri.h
r220 r244 6 6 7 7 8 #include <machine.h>8 #include "machdefs.h" 9 9 10 10 #ifdef __cplusplus -
trunk/SophyaLib/NTools/outilsinit.cc
r220 r244 41 41 PPRegister(GeneralFitData); 42 42 43 PPersistMgr::RegisterClass(RzImage::classId, RzImage::Create); 44 { ImageU2 iu2; 45 PPersistMgr::RegisterClass(iu2.ClassId(), ImageU2::Create); } 46 { ImageI2 ii2; 47 PPersistMgr::RegisterClass(ii2.ClassId(), ImageI2::Create); } 48 { ImageI4 ii4; 49 PPersistMgr::RegisterClass(ii4.ClassId(), ImageI4::Create); } 50 { ImageR4 ir4; 51 PPersistMgr::RegisterClass(ir4.ClassId(), ImageR4::Create); } 43 PPRegister(RzImage); 44 PPRegister(ImageU2); 45 PPRegister(ImageI2); 46 PPRegister(ImageI4); 47 PPRegister(ImageR4); 52 48 53 49 //PPersistMgr::RegisterClass(Matrix::classId, Matrix::Create); -
trunk/SophyaLib/NTools/peida.h
r220 r244 4 4 #define PEIDA_SEEN 5 5 6 #include " defs.h"6 #include "machdefs.h" 7 7 #include "utils.h" 8 #include "machine.h"9 8 #include "perrors.h" 10 #include " exceptions.h"9 #include "pexceptions.h" 11 10 #include "fmath.h" 12 11 -
trunk/SophyaLib/NTools/pemath.h
r220 r244 5 5 #define PEMATH_SEEN 6 6 7 #include "mach ine.h"7 #include "machdefs.h" 8 8 9 9 #define Pi (double) (3.1415926535898) /* c'est Pi */ -
trunk/SophyaLib/NTools/perandom.cc
r220 r244 1 #include "defs.h" 1 #include "machdefs.h" 2 #include "pexceptions.h" 2 3 #include "perandom.h" 3 4 #include "pemath.h" … … 198 199 { 199 200 x = ranX->BinRandom(); 200 FAILNIL(ranY[x]);201 // FAILNIL(ranY[x]); Ne compile pas $CHECK$ Reza 22/04/99 201 202 y = ranY[x]->BinRandom(); 202 203 } … … 211 212 x = ranX->Random(); 212 213 int i = int(ceil(x)); 213 FAILNIL(ranY[i]);214 // FAILNIL(ranY[i]); Ne compile pas $CHECK$ Reza 22/04/99 214 215 y = ranY[i]->Random(); 215 216 } -
trunk/SophyaLib/NTools/perandom.h
r220 r244 6 6 #define PERANDOM_SEEN 7 7 8 #include "machdefs.h" 8 9 #include <stdlib.h> 9 #include "defs.h"10 #include "machine.h"11 10 #include "histos.h" 12 11 #include "nbrandom.h" -
trunk/SophyaLib/NTools/poly.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include "poly.h" 3 3 #include "linfit.h" … … 320 320 Realloc(dg, true); 321 321 322 322 #ifdef DEBUG 323 323 int r = nr; int c = nc; 324 324 #endif 325 325 326 326 Vector::ReadSelf(s); 327 327 328 #ifdef DEBUG 328 329 DBASSERT(r == nr && c == nc); 330 #endif 329 331 UpdateDeg(); 330 332 … … 796 798 Realloc(dgx, dgy); 797 799 798 800 #ifdef DEBUG 799 801 int r = nr; int c = nc; 800 802 #endif 801 803 802 804 Vector::ReadSelf(s); 803 805 806 #ifdef DEBUG 804 807 DBASSERT(r == nr && c == nc); 808 #endif 805 809 UpdateDeg(); 806 810 } -
trunk/SophyaLib/NTools/rk4cdifeq.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include "rk4cdifeq.h" 3 3 #include "ctimer.h" -
trunk/SophyaLib/NTools/rzimage.cc
r220 r244 5 5 // LAL (Orsay) / IN2P3-CNRS DAPNIA/SPP (Saclay) / CEA 6 6 7 // $Id: rzimage.cc,v 1. 1.1.1 1999-04-09 17:57:57ansari Exp $8 9 #include " defs.h"7 // $Id: rzimage.cc,v 1.2 1999-04-22 16:18:49 ansari Exp $ 8 9 #include "machdefs.h" 10 10 #include <stdlib.h> 11 11 #include <stdio.h> -
trunk/SophyaLib/NTools/rzvect.h
r220 r244 7 7 #define RZVECT_SEEN 8 8 9 #include "mach ine.h"10 #include " exceptions.h"9 #include "machdefs.h" 10 #include "pexceptions.h" 11 11 #include "perrors.h" 12 12 -
trunk/SophyaLib/NTools/simplesort.cc
r220 r244 1 1 // 2 // $Id: simplesort.cc,v 1. 1.1.1 1999-04-09 17:57:58ansari Exp $2 // $Id: simplesort.cc,v 1.2 1999-04-22 16:18:50 ansari Exp $ 3 3 // 4 4 5 #include " defs.h"5 #include "machdefs.h" 6 6 #include "simplesort.h" 7 7 #include <stdlib.h> -
trunk/SophyaLib/NTools/tabmath.cc
r220 r244 1 #include " defs.h"1 #include "machdefs.h" 2 2 #include "tabmath.h" 3 3 -
trunk/SophyaLib/NTools/utils.cc
r220 r244 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // 3 // $Id: utils.cc,v 1. 1.1.1 1999-04-09 17:57:57ansari Exp $3 // $Id: utils.cc,v 1.2 1999-04-22 16:18:51 ansari Exp $ 4 4 // 5 5 6 #include " defs.h"6 #include "machdefs.h" 7 7 #include "utils.h" 8 #include " exceptions.h"8 #include "pexceptions.h" 9 9 #include <string.h> 10 10 11 11 // MemCpy marche meme en cas de recouvrement. 12 13 12 void* MemCpy(void* dest, const void* source, size_t n) 14 13 { -
trunk/SophyaLib/NTools/utils.h
r220 r244 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // 3 // $Id: utils.h,v 1. 1.1.1 1999-04-09 17:57:56ansari Exp $3 // $Id: utils.h,v 1.2 1999-04-22 16:18:52 ansari Exp $ 4 4 // 5 5 … … 7 7 #define UTILS_EA 8 8 9 #include " defs.h"9 #include "machdefs.h" 10 10 #include <string.h> 11 11 #include <string>
Note:
See TracChangeset
for help on using the changeset viewer.