source: branches/Release-2-fixes/src/SDTemplates.cc@ 1192

Last change on this file since 1192 was 698, checked in by mar637, 19 years ago

update to current aips++ system

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.1 KB
RevLine 
[2]1//#---------------------------------------------------------------------------
2//# SDTemplates.cc: explicit templates for aips++
3//#---------------------------------------------------------------------------
4//# Copyright (C) 2004
[125]5//# ATNF
[2]6//#
7//# This program is free software; you can redistribute it and/or modify it
8//# under the terms of the GNU General Public License as published by the Free
9//# Software Foundation; either version 2 of the License, or (at your option)
10//# any later version.
11//#
12//# This program is distributed in the hope that it will be useful, but
13//# WITHOUT ANY WARRANTY; without even the implied warranty of
14//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15//# Public License for more details.
16//#
17//# You should have received a copy of the GNU General Public License along
18//# with this program; if not, write to the Free Software Foundation, Inc.,
19//# 675 Massachusetts Ave, Cambridge, MA 02139, USA.
20//#
21//# Correspondence concerning this software should be addressed as follows:
22//# Internet email: Malte.Marquarding@csiro.au
23//# Postal address: Malte Marquarding,
24//# Australia Telescope National Facility,
25//# P.O. Box 76,
26//# Epping, NSW, 2121,
27//# AUSTRALIA
28//#
29//# $Id:
30//#---------------------------------------------------------------------------
[125]31#include "SDMemTable.h"
32
33#include <casa/aips.h>
34#include <casa/namespace.h>
[81]35#include <casa/Exceptions/Error.cc>
36#include <casa/Exceptions/Error2.cc>
37#include <casa/Utilities/CountedPtr.cc>
38#include <casa/Utilities/CountedPtr2.cc>
[2]39
[83]40namespace asap {
[125]41 template class casa::CountedConstPtr<SDMemTable>;
42 template class casa::CountedPtr<SDMemTable>;
43 template class casa::PtrRep<SDMemTable>;
44 template class casa::SimpleCountedConstPtr<SDMemTable>;
45 template class casa::SimpleCountedPtr<SDMemTable>;
[2]46}
47
[81]48#include <casa/Arrays/ArrayLogical.cc>
49#include <casa/Arrays/ArrayMath.cc>
50#include <casa/Arrays/MaskArrMath.cc>
[454]51#include <casa/Arrays/MaskedArray.cc>
[81]52#include <casa/Arrays/Array.h>
[454]53#include <casa/Arrays/Array.cc>
[261]54#include <casa/Arrays/Vector.h>
55#include <casa/Arrays/Vector2.cc>
[454]56#include <casa/Arrays/Vector.cc>
[261]57#include <casa/Utilities/PtrHolder.cc>
58#include <casa/Utilities/BinarySearch.cc>
[310]59#include <coordinates/Coordinates/FrequencyAligner.cc>
[261]60#include <lattices/Lattices/Lattice.h>
61#include <lattices/Lattices/LatticeUtilities.cc>
[81]62#include <scimath/Functionals/CompiledFunction.cc>
63#include <scimath/Functionals/CompiledParam.cc>
64#include <scimath/Mathematics/AutoDiff.h>
65#include <scimath/Mathematics/AutoDiffMath.h>
[261]66#include <scimath/Mathematics/InterpolateArray1D.cc>
[422]67#include <tables/Tables/BaseMappedArrayEngine.cc>
[2]68
[125]69template void convertArray<Bool, uChar>(Array<Bool> &, Array<uChar> const &);
70template void convertArray<uChar, Bool>(Array<uChar> &, Array<Bool> const &);
71template LogicalArray operator!=<Float>(Array<Float> const &, Float const &);
72template LogicalArray operator==<Float>(Array<Float> const &, Float const &);
73template LogicalArray operator><Float>(Array<Float> const &, Float const &);
74template LogicalArray operator>=<Float>(Array<Float> const &, Float const &);
75template Array<Float>& operator/=<Float>(Array<Float>&, MaskedArray<Float> const&);
76template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Float const&);
[698]77template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Array<Float> const&);
78template MaskedArray<Float> const& operator/=<Float>(MaskedArray<Float> const&, Float const&);
[239]79template MaskedArray<Float> operator+<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
[125]80template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
[698]81template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, Array<Float> const&);
82
83template MaskedArray<Float> operator/<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
84
[239]85template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
[698]86template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, Array<Float> const&);
[243]87template MaskedArray<Float> operator*<Float>(Array<Float> const&, MaskedArray<Float> const&);
[125]88template Float stddev<Float>(MaskedArray<Float> const&);
[617]89template Float median<Float>(MaskedArray<Float> const&, Bool, Bool);
[132]90template Float sumsquares<Float>(MaskedArray<Float> const&);
91template Float avdev<Float>(MaskedArray<Float> const&);
[40]92template class CompiledFunction<AutoDiff<Float> >;
93template class CompiledParam<AutoDiff<Float> >;
[454]94
95template class Vector<Vector<Int> >;
96template class Vector<Vector<Bool> >;
97template class Vector<Vector<String> >;
[59]98template Vector<Bool>::Vector(const vector<bool> &);
[383]99template Vector<Int>::Vector(const vector<int> &);
[93]100template Vector<Float>::Vector(const vector<float> &);
101template Vector<Double>::Vector(const vector<double> &);
[40]102template void Array<float>::tovector(vector<float> &) const;
[93]103template void Array<Bool>::tovector(vector<bool> &) const;
[463]104template void Array<Double>::tovector(vector<double> &) const;
105template void Array<Int>::tovector(vector<int> &) const;
[617]106template void Array<std::complex<float> >::reference(const Array<std::complex<float> >&);
[132]107template void LatticeUtilities::bin(MaskedArray<float>&, MaskedArray<float> const&, uInt, uInt);
[59]108template class PtrHolder<Lattice<Float> >;
[310]109template class FrequencyAligner<Float>;
[261]110template class InterpolateArray1D<Double, Float>;
111template Int binarySearchBrackets<Vector<Double>,Double>(Bool &, Vector<Double> const &, Double const &, uInt, Int);
[422]112template class BaseMappedArrayEngine<Float, Float>;
113
[137]114#include "MathUtils2.cc"
[461]115#include "SDPol2.cc"
[125]116namespace mathutil {
117 template void hanning(Vector<Float>&, Vector<Bool>&,
118 const Vector<Float>&,
119 const Vector<Bool>&,
120 Bool, Bool);
[366]121 template uInt addEntry(Vector<uInt>&, uInt);
[454]122 template void extendLastArrayAxis(Array<Int>&, const Array<Int>&,
123 const Int& initVal);
[125]124}
[461]125template Array<Bool> SDPolUtil::stokesData (Array<Bool>& dataIn, Bool);
[654]126template Array<Float> SDPolUtil::computeStokesDataForWriter(Array<Float>& dataIn, Bool);
127template Array<uChar> SDPolUtil::computeStokesDataForWriter(Array<uChar>& dataIn, Bool);
[461]128
Note: See TracBrowser for help on using the repository browser.