1 | #include "sopnamsp.h"
|
---|
2 | #include "machdefs.h"
|
---|
3 | #include <stdlib.h>
|
---|
4 | #include <typeinfo>
|
---|
5 | #include <iostream>
|
---|
6 | #include <string>
|
---|
7 | #include <complex>
|
---|
8 |
|
---|
9 | #include "datatype.h"
|
---|
10 |
|
---|
11 | #include "tvector.h"
|
---|
12 | #include "objfitter.h"
|
---|
13 | #include "nomtmatvecadapter.h"
|
---|
14 | #include "piyfxdrw.h"
|
---|
15 | #include "pitvmaad.h"
|
---|
16 |
|
---|
17 | #include "fioarr.h"
|
---|
18 |
|
---|
19 | #include "nobjmgr.h"
|
---|
20 |
|
---|
21 | //----------------------------------------------------------------
|
---|
22 | // Class Adaptateur d'objet (Pour NamedObjMgr) d'objet TMatrix<T>
|
---|
23 | //----------------------------------------------------------------
|
---|
24 |
|
---|
25 |
|
---|
26 | /* --Methode-- */
|
---|
27 | template <class T>
|
---|
28 | NOMAdapter_TMatrix<T>::NOMAdapter_TMatrix(TMatrix<T>* o)
|
---|
29 | : NObjMgrAdapter(o)
|
---|
30 | {
|
---|
31 | mMtx = o;
|
---|
32 | }
|
---|
33 |
|
---|
34 | /* --Methode-- */
|
---|
35 | template <class T>
|
---|
36 | NOMAdapter_TMatrix<T>::~NOMAdapter_TMatrix()
|
---|
37 | {
|
---|
38 | }
|
---|
39 |
|
---|
40 | /* --Methode-- */
|
---|
41 | template <class T>
|
---|
42 | NObjMgrAdapter* NOMAdapter_TMatrix<T>::Clone(AnyDataObj* o)
|
---|
43 | {
|
---|
44 | TMatrix<T>* m = dynamic_cast<TMatrix<T> *>(o);
|
---|
45 | if (m) return ( new NOMAdapter_TMatrix<T>(m) );
|
---|
46 | return ( new NObjMgrAdapter(o) );
|
---|
47 | }
|
---|
48 |
|
---|
49 | /* --Methode-- */
|
---|
50 | template <class T>
|
---|
51 | string NOMAdapter_TMatrix<T>::GetDataObjType()
|
---|
52 | {
|
---|
53 | string type = "TMatrix< ";
|
---|
54 |
|
---|
55 | TVector<T>* v = dynamic_cast<TVector<T> *>(mMtx);
|
---|
56 | if (v != NULL) type = "TVector< ";
|
---|
57 |
|
---|
58 | // type += DecodeTypeIdName(typeid(T).name());
|
---|
59 | type += DataTypeInfo<T>::getTypeName();
|
---|
60 | type += " > ";
|
---|
61 | return(type);
|
---|
62 | }
|
---|
63 |
|
---|
64 | /* --Methode-- */
|
---|
65 | template <class T>
|
---|
66 | AnyDataObj* NOMAdapter_TMatrix<T>::CloneDataObj(bool share)
|
---|
67 | {
|
---|
68 | if (mMtx == NULL) return(NULL);
|
---|
69 | TVector<T>* v = dynamic_cast<TVector<T> *>(mMtx);
|
---|
70 | if (v != NULL) return( new TVector<T>(*v, share) );
|
---|
71 | else return ( new TMatrix<T>(*mMtx, share) );
|
---|
72 | }
|
---|
73 |
|
---|
74 | /* --Methode-- */
|
---|
75 | template <class T>
|
---|
76 | string NOMAdapter_TMatrix<T>::GetInfoString(vector<string>& opts)
|
---|
77 | {
|
---|
78 | if (opts.size() == 0) return mMtx->InfoString();
|
---|
79 | else {
|
---|
80 | if (opts[0] == "rank") return string("2");
|
---|
81 | else if (opts[0] == "sizes") {
|
---|
82 | char buff[64];
|
---|
83 | TVector<T>* v = dynamic_cast<TVector<T> *>(mMtx);
|
---|
84 | if (v != NULL) sprintf(buff, "%ld", (long)mMtx->Size());
|
---|
85 | else sprintf(buff, "%ld %ld", (long)mMtx->NRows(), (long)mMtx->NCols());
|
---|
86 | return string(buff);
|
---|
87 | }
|
---|
88 | else if ((opts[0] == "size") || (opts[0] == "nelts")) {
|
---|
89 | char buff[32];
|
---|
90 | sprintf(buff, "%ld", (long)mMtx->Size());
|
---|
91 | return string(buff);
|
---|
92 | }
|
---|
93 | else if ((opts[0] == "nrow") || (opts[0] == "nrows")) {
|
---|
94 | char buff[32];
|
---|
95 | sprintf(buff, "%ld", (long)mMtx->NRows());
|
---|
96 | return string(buff);
|
---|
97 | }
|
---|
98 | else if ((opts[0] == "ncol") || (opts[0] == "ncols")) {
|
---|
99 | char buff[32];
|
---|
100 | sprintf(buff, "%ld", (long)mMtx->NCols());
|
---|
101 | return string(buff);
|
---|
102 | }
|
---|
103 | else if (opts[0] == "sum") {
|
---|
104 | MuTyV mtv(mMtx->Sum());
|
---|
105 | string s;
|
---|
106 | return mtv.Convert(s);
|
---|
107 | }
|
---|
108 | else return mMtx->InfoString();
|
---|
109 | }
|
---|
110 | }
|
---|
111 |
|
---|
112 | /* --Methode-- */
|
---|
113 | template <class T>
|
---|
114 | int NOMAdapter_TMatrix<T>::PerformOperation(vector<string>& opts)
|
---|
115 | {
|
---|
116 | bool ok = false;
|
---|
117 | if (opts.size() >= 2) {
|
---|
118 | int_4 kk = atoi(opts[1].c_str());
|
---|
119 | TVector<T> * vrc = new TVector<T>;
|
---|
120 | char buff[40];
|
---|
121 | if ((opts[0] == "row") || (opts[0] == "line")) {
|
---|
122 | vrc->Share(mMtx->Row((sa_size_t)kk));
|
---|
123 | ok = true;
|
---|
124 | sprintf(buff,"row_%ld",(long)kk);
|
---|
125 | cout << "PerformOperation(): Extracting Row(" << kk << ") from matrix" << endl;
|
---|
126 | }
|
---|
127 | else if ((opts[0] == "col") || (opts[0] == "column")) {
|
---|
128 | vrc->Share(mMtx->Column((sa_size_t)kk));
|
---|
129 | ok = true;
|
---|
130 | sprintf(buff,"col_%ld",(long)kk);
|
---|
131 | cout << "PerformOperation(): Extracting Column(" << kk << ") from matrix" << endl;
|
---|
132 | }
|
---|
133 | if (ok) {
|
---|
134 | string nvrc;
|
---|
135 | if (opts.size() > 2) nvrc = opts[2];
|
---|
136 | else nvrc = buff;
|
---|
137 | NamedObjMgr omg;
|
---|
138 | omg.AddObj(vrc, nvrc, true);
|
---|
139 | return 0;
|
---|
140 | }
|
---|
141 | }
|
---|
142 |
|
---|
143 | cout << "NOMAdapter_TMatrix<T>::PerformOperation(): Error operation/arguments !" << endl;
|
---|
144 | return 1;
|
---|
145 | }
|
---|
146 |
|
---|
147 | /* --Methode-- */
|
---|
148 | template <class T>
|
---|
149 | void NOMAdapter_TMatrix<T>::SavePPF(POutPersist& pos, string const & nom)
|
---|
150 | {
|
---|
151 | if (mMtx == NULL) return;
|
---|
152 | TVector<T>* v = dynamic_cast<TVector<T> *>(mMtx);
|
---|
153 | if (v != NULL) {
|
---|
154 | FIO_TArray<T> fio(v);
|
---|
155 | fio.Write(pos, nom);
|
---|
156 | }
|
---|
157 | else {
|
---|
158 | FIO_TArray<T> fio(mMtx);
|
---|
159 | fio.Write(pos, nom);
|
---|
160 | }
|
---|
161 | }
|
---|
162 |
|
---|
163 | /* --Methode-- */
|
---|
164 | template <class T>
|
---|
165 | void NOMAdapter_TMatrix<T>::Print(ostream& os, int lev)
|
---|
166 | {
|
---|
167 | if (lev < 3) mMtx->Show(os, false);
|
---|
168 | else mMtx->Show(os, true);
|
---|
169 | if (lev > 0) mMtx->Print(os, 10*lev);
|
---|
170 | }
|
---|
171 |
|
---|
172 | /* --Methode-- */
|
---|
173 | template <class T>
|
---|
174 | PIDrawer* NOMAdapter_TMatrix<T>::GetDrawer(string & dopt)
|
---|
175 | {
|
---|
176 | TVector<T>* v = dynamic_cast<TVector<T> *>(mMtx);
|
---|
177 | if (v == NULL) return(NULL);
|
---|
178 | else {
|
---|
179 | dopt = "thinline " + dopt;
|
---|
180 | return( new PIYfXDrawer( new POTVectorAdapter<T>(v, false), NULL, true) );
|
---|
181 | }
|
---|
182 | }
|
---|
183 |
|
---|
184 | /* --Methode-- */
|
---|
185 | template <class T>
|
---|
186 | P2DArrayAdapter* NOMAdapter_TMatrix<T>::Get2DArray(string &)
|
---|
187 | {
|
---|
188 | return ( new POTMatrixAdapter<T>(mMtx, false) );
|
---|
189 | }
|
---|
190 |
|
---|
191 | /* --Methode-- */
|
---|
192 | template <class T>
|
---|
193 | NTupleInterface* NOMAdapter_TMatrix<T>::GetNTupleInterface(bool& adel)
|
---|
194 | {
|
---|
195 | adel = true;
|
---|
196 | return( new NTupInt_TMatrix<T>(mMtx) );
|
---|
197 | }
|
---|
198 |
|
---|
199 |
|
---|
200 | /* --Methode-- */
|
---|
201 | template <class T>
|
---|
202 | GeneralFitData* NOMAdapter_TMatrix<T>::GetGeneralFitData(bool& adel
|
---|
203 | ,GeneralFitData::FitErrType errtype,double errscale,double errmin
|
---|
204 | ,int i1,int i2,int j1,int j2)
|
---|
205 | {
|
---|
206 | adel = false;
|
---|
207 | if(!mMtx) return(NULL);
|
---|
208 |
|
---|
209 | int nx,ny;
|
---|
210 | TVector<T>* vec = dynamic_cast<TVector<T> *>(mMtx);
|
---|
211 |
|
---|
212 | if(vec) { // C'est un TVector
|
---|
213 | nx = vec->NElts();
|
---|
214 | ny = 1;
|
---|
215 | } else {
|
---|
216 | nx = mMtx->NRows();
|
---|
217 | ny = mMtx->NCol();
|
---|
218 | if(nx<=0 || ny<=0) return(NULL);
|
---|
219 | }
|
---|
220 |
|
---|
221 | i1 = (i1<0||i1>=nx)? 0: i1;
|
---|
222 | i2 = (i2<0||i2>=nx||i2<i1)? nx-1: i2;
|
---|
223 | j1 = (j1<0||j1>=ny)? 0: j1;
|
---|
224 | j2 = (j2<0||j2>=ny||j2<j1)? ny-1: j2;
|
---|
225 |
|
---|
226 | GeneralFitData* mGData = NULL;
|
---|
227 |
|
---|
228 | if(vec) { // C'est un TVector
|
---|
229 | mGData = new GeneralFitData(1,(i2-i1+1),0);
|
---|
230 | adel = true;
|
---|
231 | for(int i=i1;i<=i2;i++) {
|
---|
232 | double x = (double) i;
|
---|
233 | double f = (*vec)(i);
|
---|
234 | double e = 1.;
|
---|
235 | e = GeneralFitData::ComputeError(f,e,errtype,errscale,errmin);
|
---|
236 | mGData->AddData1(x,f,e);
|
---|
237 | }
|
---|
238 | } else {
|
---|
239 | mGData = new GeneralFitData(2,(i2-i1+1)*(j2-j1+1),0);
|
---|
240 | adel = true;
|
---|
241 | for(int i=i1;i<=i2;i++) for(int j=j1;j<=j2;j++) {
|
---|
242 | double x = (double) i;
|
---|
243 | double y = (double) j;
|
---|
244 | double f = (*mMtx)(i,j);
|
---|
245 | double e = 1.;
|
---|
246 | e = GeneralFitData::ComputeError(f,e,errtype,errscale,errmin);
|
---|
247 | mGData->AddData2(x,y,f,e);
|
---|
248 | }
|
---|
249 | }
|
---|
250 |
|
---|
251 | return mGData;
|
---|
252 | }
|
---|
253 |
|
---|
254 | template <class T>
|
---|
255 | AnyDataObj* NOMAdapter_TMatrix<T>::FitResidusObj(GeneralFit& mfit)
|
---|
256 | {
|
---|
257 | TVector<T>* vec = dynamic_cast<TVector<T> *>(mMtx);
|
---|
258 | if(vec) {
|
---|
259 | TVector<T>* v = new TVector<T>(ObjectFitter::FitResidus(*vec,mfit),true);
|
---|
260 | return v;
|
---|
261 | } else {
|
---|
262 | TMatrix<T>* m = new TMatrix<T>(ObjectFitter::FitResidus(*mMtx,mfit),true);
|
---|
263 | return m;
|
---|
264 | }
|
---|
265 | }
|
---|
266 |
|
---|
267 | template <class T>
|
---|
268 | AnyDataObj* NOMAdapter_TMatrix<T>::FitFunctionObj(GeneralFit& mfit)
|
---|
269 | {
|
---|
270 | TVector<T>* vec = dynamic_cast<TVector<T> *>(mMtx);
|
---|
271 | if(vec) {
|
---|
272 | TVector<T>* v = new TVector<T>(ObjectFitter::FitFunction(*vec,mfit),true);
|
---|
273 | return v;
|
---|
274 | } else {
|
---|
275 | TMatrix<T>* m = new TMatrix<T>(ObjectFitter::FitFunction(*mMtx,mfit),true);
|
---|
276 | return m;
|
---|
277 | }
|
---|
278 | }
|
---|
279 |
|
---|
280 | // ---- Specialisation pour complexes -----
|
---|
281 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
282 | GeneralFitData* NOMAdapter_TMatrix< complex<r_4> >::GetGeneralFitData(bool& adel
|
---|
283 | ,GeneralFitData::FitErrType errtype,double errscale,double errmin
|
---|
284 | ,int i1,int i2,int j1,int j2)
|
---|
285 | {
|
---|
286 | return(NULL);
|
---|
287 | }
|
---|
288 |
|
---|
289 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
290 | AnyDataObj* NOMAdapter_TMatrix< complex<r_4> >::FitResidusObj(GeneralFit& mfit)
|
---|
291 | {
|
---|
292 | return(NULL);
|
---|
293 | }
|
---|
294 |
|
---|
295 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
296 | AnyDataObj* NOMAdapter_TMatrix< complex<r_4> >::FitFunctionObj(GeneralFit& mfit)
|
---|
297 | {
|
---|
298 | return(NULL);
|
---|
299 | }
|
---|
300 |
|
---|
301 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
302 | GeneralFitData* NOMAdapter_TMatrix< complex<r_8> >::GetGeneralFitData(bool& adel
|
---|
303 | ,GeneralFitData::FitErrType errtype,double errscale,double errmin
|
---|
304 | ,int i1,int i2,int j1,int j2)
|
---|
305 | {
|
---|
306 | return(NULL);
|
---|
307 | }
|
---|
308 |
|
---|
309 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
310 | AnyDataObj* NOMAdapter_TMatrix< complex<r_8> >::FitResidusObj(GeneralFit& mfit)
|
---|
311 | {
|
---|
312 | return(NULL);
|
---|
313 | }
|
---|
314 |
|
---|
315 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
316 | AnyDataObj* NOMAdapter_TMatrix< complex<r_8> >::FitFunctionObj(GeneralFit& mfit)
|
---|
317 | {
|
---|
318 | return(NULL);
|
---|
319 | }
|
---|
320 |
|
---|
321 | // -------------------------------------------------------------
|
---|
322 |
|
---|
323 | /* --Methode-- */
|
---|
324 | template <class T>
|
---|
325 | NTupInt_TMatrix<T>::NTupInt_TMatrix(TMatrix<T>* m)
|
---|
326 | {
|
---|
327 | mMtx = m;
|
---|
328 | }
|
---|
329 |
|
---|
330 | /* --Methode-- */
|
---|
331 | template <class T>
|
---|
332 | NTupInt_TMatrix<T>::~NTupInt_TMatrix()
|
---|
333 | {
|
---|
334 | }
|
---|
335 |
|
---|
336 | /* --Methode-- */
|
---|
337 | template <class T>
|
---|
338 | sa_size_t NTupInt_TMatrix<T>::NbLines() const
|
---|
339 | {
|
---|
340 | return( mMtx->NRows()*mMtx->NCols() );
|
---|
341 | }
|
---|
342 |
|
---|
343 | /* --Methode-- */
|
---|
344 | template <class T>
|
---|
345 | sa_size_t NTupInt_TMatrix<T>::NbColumns() const
|
---|
346 | {
|
---|
347 | return(8);
|
---|
348 | }
|
---|
349 |
|
---|
350 | /* --Methode-- */
|
---|
351 | template <class T>
|
---|
352 | r_8* NTupInt_TMatrix<T>::GetLineD(sa_size_t n) const
|
---|
353 | {
|
---|
354 | int i,j;
|
---|
355 | if ((n < 0) || (n >= (int)(mMtx->NRows()*mMtx->NCols()) )) {
|
---|
356 | mRet[0] = n;
|
---|
357 | for(i=1; i<8; i++) mRet[i] = 0.;
|
---|
358 | }
|
---|
359 | else {
|
---|
360 | i = n/mMtx->NCols(); j = n%mMtx->NCols();
|
---|
361 | mRet[0] = n; mRet[1] = i; mRet[2] = j;
|
---|
362 | mRet[3] = (*mMtx)(i,j);
|
---|
363 | mRet[4] = mRet[2]; mRet[5] = 0.;
|
---|
364 | mRet[6] = mRet[2]; mRet[7] = 0.;
|
---|
365 | }
|
---|
366 | return(mRet);
|
---|
367 | }
|
---|
368 |
|
---|
369 | /* --Methode-- */
|
---|
370 | template <class T>
|
---|
371 | string NTupInt_TMatrix<T>::VarList_C(const char* nx) const
|
---|
372 | {
|
---|
373 | string nomx;
|
---|
374 | if (nx) nomx = nx;
|
---|
375 | else nomx = "_xh_";
|
---|
376 | string vardec = "double n,r,c,val,real,imag,mod,phas; \n";
|
---|
377 | vardec += "n = " + nomx + "[0]; r = " + nomx + "[1]; c = " + nomx + "[2]; \n";
|
---|
378 | vardec += "val = " + nomx + "[3]; \n";
|
---|
379 | vardec += "real = " + nomx + "[4]; imag = " + nomx + "[5]; \n";
|
---|
380 | vardec += "mod = " + nomx + "[6]; phas = " + nomx + "[7]; \n";
|
---|
381 | return(vardec);
|
---|
382 | }
|
---|
383 |
|
---|
384 | /* --Methode-- */
|
---|
385 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
386 | r_8* NTupInt_TMatrix< complex<r_4> >::GetLineD(sa_size_t n) const
|
---|
387 | {
|
---|
388 | int i,j;
|
---|
389 | if ((n < 0) || (n >= (int)(mMtx->NRows()*mMtx->NCols()) )) {
|
---|
390 | mRet[0] = n;
|
---|
391 | for(i=1; i<8; i++) mRet[i] = 0.;
|
---|
392 | }
|
---|
393 | else {
|
---|
394 | i = n/mMtx->NCols(); j = n%mMtx->NCols();
|
---|
395 | mRet[0] = n; mRet[1] = i; mRet[2] = j;
|
---|
396 | mRet[4] = (*mMtx)(i,j).real(); mRet[5] = (*mMtx)(i,j).imag();
|
---|
397 | mRet[3] = mRet[6] = sqrt(mRet[4]*mRet[4]+mRet[5]*mRet[5]);
|
---|
398 | mRet[7] = atan2(mRet[5], mRet[4]);
|
---|
399 | }
|
---|
400 | return(mRet);
|
---|
401 | }
|
---|
402 |
|
---|
403 | DECL_TEMP_SPEC /* equivalent a template <> , pour SGI-CC en particulier */
|
---|
404 | r_8* NTupInt_TMatrix< complex<r_8> >::GetLineD(sa_size_t n) const
|
---|
405 | {
|
---|
406 | int i,j;
|
---|
407 | if ((n < 0) || (n >= (int)(mMtx->NRows()*mMtx->NCols()) )) {
|
---|
408 | mRet[0] = n;
|
---|
409 | for(i=1; i<8; i++) mRet[i] = 0.;
|
---|
410 | }
|
---|
411 | else {
|
---|
412 | i = n/mMtx->NCols(); j = n%mMtx->NCols();
|
---|
413 | mRet[0] = n; mRet[1] = i; mRet[2] = j;
|
---|
414 | mRet[4] = (*mMtx)(i,j).real(); mRet[5] = (*mMtx)(i,j).imag();
|
---|
415 | mRet[3] = mRet[6] = sqrt(mRet[4]*mRet[4]+mRet[5]*mRet[5]);
|
---|
416 | mRet[7] = atan2(mRet[5], mRet[4]);
|
---|
417 | }
|
---|
418 | return(mRet);
|
---|
419 | }
|
---|
420 |
|
---|
421 |
|
---|
422 | #ifdef __CXX_PRAGMA_TEMPLATES__
|
---|
423 | #pragma define_template NOMAdapter_TMatrix<uint_2>
|
---|
424 | #pragma define_template NOMAdapter_TMatrix<int_2>
|
---|
425 | #pragma define_template NOMAdapter_TMatrix<int_4>
|
---|
426 | #pragma define_template NOMAdapter_TMatrix<int_8>
|
---|
427 | #pragma define_template NOMAdapter_TMatrix<r_4>
|
---|
428 | #pragma define_template NOMAdapter_TMatrix<r_8>
|
---|
429 | #pragma define_template NOMAdapter_TMatrix< complex<r_4> >
|
---|
430 | #pragma define_template NOMAdapter_TMatrix< complex<r_8> >
|
---|
431 | #pragma define_template NTupInt_TMatrix<uint_2>
|
---|
432 | #pragma define_template NTupInt_TMatrix<int_2>
|
---|
433 | #pragma define_template NTupInt_TMatrix<int_4>
|
---|
434 | #pragma define_template NTupInt_TMatrix<int_8>
|
---|
435 | #pragma define_template NTupInt_TMatrix<r_4>
|
---|
436 | #pragma define_template NTupInt_TMatrix<r_8>
|
---|
437 | #pragma define_template NTupInt_TMatrix< complex<r_4> >
|
---|
438 | #pragma define_template NTupInt_TMatrix< complex<r_8> >
|
---|
439 | #endif
|
---|
440 |
|
---|
441 | #if defined(ANSI_TEMPLATES)
|
---|
442 | template class NOMAdapter_TMatrix<uint_2>;
|
---|
443 | template class NOMAdapter_TMatrix<int_2>;
|
---|
444 | template class NOMAdapter_TMatrix<int_4>;
|
---|
445 | template class NOMAdapter_TMatrix<int_8>;
|
---|
446 | template class NOMAdapter_TMatrix<r_4>;
|
---|
447 | template class NOMAdapter_TMatrix<r_8>;
|
---|
448 | template class NOMAdapter_TMatrix< complex<r_4> >;
|
---|
449 | template class NOMAdapter_TMatrix< complex<r_8> >;
|
---|
450 | template class NTupInt_TMatrix<uint_2>;
|
---|
451 | template class NTupInt_TMatrix<int_2>;
|
---|
452 | template class NTupInt_TMatrix<int_4>;
|
---|
453 | template class NTupInt_TMatrix<int_8>;
|
---|
454 | template class NTupInt_TMatrix<r_4>;
|
---|
455 | template class NTupInt_TMatrix<r_8>;
|
---|
456 | template class NTupInt_TMatrix< complex<r_4> >;
|
---|
457 | template class NTupInt_TMatrix< complex<r_8> >;
|
---|
458 | #endif
|
---|