[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/Containers/Block.h>
|
---|
| 36 | #include <casa/Exceptions/Error.cc>
|
---|
| 37 | #include <casa/Exceptions/Error2.cc>
|
---|
| 38 | #include <casa/Utilities/CountedPtr.cc>
|
---|
| 39 | #include <casa/Utilities/CountedPtr2.cc>
|
---|
| 40 | #include <casa/Utilities/Copy.cc>
|
---|
[2] | 41 |
|
---|
[83] | 42 | namespace asap {
|
---|
[125] | 43 | template class casa::CountedConstPtr<SDMemTable>;
|
---|
| 44 | template class casa::CountedPtr<SDMemTable>;
|
---|
| 45 | template class casa::PtrRep<SDMemTable>;
|
---|
| 46 | template class casa::SimpleCountedConstPtr<SDMemTable>;
|
---|
| 47 | template class casa::SimpleCountedPtr<SDMemTable>;
|
---|
| 48 | template class casa::Block<CountedPtr<SDMemTable> >;
|
---|
[2] | 49 | }
|
---|
| 50 |
|
---|
[125] | 51 | template void objcopy<CountedPtr<asap::SDMemTable> >(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
|
---|
| 52 | template void objmove<CountedPtr<asap::SDMemTable> >(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
|
---|
| 53 | template void objset<CountedPtr<asap::SDMemTable> >(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable>, uInt);
|
---|
| 54 |
|
---|
[81] | 55 | #include <casa/Arrays/ArrayLogical.cc>
|
---|
| 56 | #include <casa/Arrays/ArrayMath.cc>
|
---|
| 57 | #include <casa/Arrays/MaskArrMath.cc>
|
---|
[454] | 58 | #include <casa/Arrays/MaskedArray.cc>
|
---|
[81] | 59 | #include <casa/Arrays/Array.h>
|
---|
[454] | 60 | #include <casa/Arrays/Array.cc>
|
---|
[261] | 61 | #include <casa/Arrays/Vector.h>
|
---|
| 62 | #include <casa/Arrays/Vector2.cc>
|
---|
[454] | 63 | #include <casa/Arrays/Vector.cc>
|
---|
[261] | 64 | #include <casa/Utilities/PtrHolder.cc>
|
---|
| 65 | #include <casa/Utilities/BinarySearch.cc>
|
---|
[310] | 66 | #include <coordinates/Coordinates/FrequencyAligner.cc>
|
---|
[261] | 67 | #include <lattices/Lattices/Lattice.h>
|
---|
| 68 | #include <lattices/Lattices/LatticeUtilities.cc>
|
---|
[81] | 69 | #include <scimath/Functionals/CompiledFunction.cc>
|
---|
| 70 | #include <scimath/Functionals/CompiledParam.cc>
|
---|
| 71 | #include <scimath/Mathematics/AutoDiff.h>
|
---|
| 72 | #include <scimath/Mathematics/AutoDiffMath.h>
|
---|
[261] | 73 | #include <scimath/Mathematics/InterpolateArray1D.cc>
|
---|
[422] | 74 | #include <tables/Tables/BaseMappedArrayEngine.cc>
|
---|
[2] | 75 |
|
---|
[125] | 76 | template void convertArray<Bool, uChar>(Array<Bool> &, Array<uChar> const &);
|
---|
| 77 | template void convertArray<uChar, Bool>(Array<uChar> &, Array<Bool> const &);
|
---|
| 78 | template LogicalArray operator!=<Float>(Array<Float> const &, Float const &);
|
---|
| 79 | template LogicalArray operator==<Float>(Array<Float> const &, Float const &);
|
---|
| 80 | template LogicalArray operator><Float>(Array<Float> const &, Float const &);
|
---|
| 81 | template LogicalArray operator>=<Float>(Array<Float> const &, Float const &);
|
---|
| 82 | template Array<Float>& operator/=<Float>(Array<Float>&, MaskedArray<Float> const&);
|
---|
| 83 | template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Float const&);
|
---|
[239] | 84 | template MaskedArray<Float> operator+<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
[125] | 85 | template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
[239] | 86 | template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
| 87 | template MaskedArray<Float> operator/<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
|
---|
[125] | 88 | template MaskedArray<Float> const& operator/=<Float>(MaskedArray<Float> const&, Float const&);
|
---|
[243] | 89 | template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, Array<Float> const&);
|
---|
| 90 | template MaskedArray<Float> operator*<Float>(Array<Float> const&, MaskedArray<Float> const&);
|
---|
[125] | 91 | template Float stddev<Float>(MaskedArray<Float> const&);
|
---|
[617] | 92 | template Float median<Float>(MaskedArray<Float> const&, Bool, Bool);
|
---|
[132] | 93 | template Float sumsquares<Float>(MaskedArray<Float> const&);
|
---|
| 94 | template Float avdev<Float>(MaskedArray<Float> const&);
|
---|
[40] | 95 | template class CompiledFunction<AutoDiff<Float> >;
|
---|
| 96 | template class CompiledParam<AutoDiff<Float> >;
|
---|
[454] | 97 |
|
---|
| 98 | template class Vector<Vector<Int> >;
|
---|
| 99 | template class Vector<Vector<Bool> >;
|
---|
| 100 | template class Vector<Vector<String> >;
|
---|
[59] | 101 | template Vector<Bool>::Vector(const vector<bool> &);
|
---|
[383] | 102 | template Vector<Int>::Vector(const vector<int> &);
|
---|
[93] | 103 | template Vector<Float>::Vector(const vector<float> &);
|
---|
| 104 | template Vector<Double>::Vector(const vector<double> &);
|
---|
[40] | 105 | template void Array<float>::tovector(vector<float> &) const;
|
---|
[93] | 106 | template void Array<Bool>::tovector(vector<bool> &) const;
|
---|
[463] | 107 | template void Array<Double>::tovector(vector<double> &) const;
|
---|
| 108 | template void Array<Int>::tovector(vector<int> &) const;
|
---|
[617] | 109 | template void Array<std::complex<float> >::reference(const Array<std::complex<float> >&);
|
---|
[132] | 110 | template void LatticeUtilities::bin(MaskedArray<float>&, MaskedArray<float> const&, uInt, uInt);
|
---|
[59] | 111 | template class PtrHolder<Lattice<Float> >;
|
---|
[310] | 112 | template class FrequencyAligner<Float>;
|
---|
[261] | 113 | template class InterpolateArray1D<Double, Float>;
|
---|
| 114 | template Int binarySearchBrackets<Vector<Double>,Double>(Bool &, Vector<Double> const &, Double const &, uInt, Int);
|
---|
[422] | 115 | template class BaseMappedArrayEngine<Float, Float>;
|
---|
| 116 |
|
---|
[137] | 117 | #include "MathUtils2.cc"
|
---|
[461] | 118 | #include "SDPol2.cc"
|
---|
[125] | 119 | namespace mathutil {
|
---|
| 120 | template void hanning(Vector<Float>&, Vector<Bool>&,
|
---|
| 121 | const Vector<Float>&,
|
---|
| 122 | const Vector<Bool>&,
|
---|
| 123 | Bool, Bool);
|
---|
[366] | 124 | template uInt addEntry(Vector<uInt>&, uInt);
|
---|
[454] | 125 | template void extendLastArrayAxis(Array<Int>&, const Array<Int>&,
|
---|
| 126 | const Int& initVal);
|
---|
[125] | 127 | }
|
---|
[461] | 128 | template Array<Bool> SDPolUtil::stokesData (Array<Bool>& dataIn, Bool);
|
---|
[471] | 129 | template Array<Float> SDPolUtil::computeStokesDataForWriter (Array<Float>& dataIn, Bool);
|
---|
| 130 | template Array<uChar> SDPolUtil::computeStokesDataForWriter (Array<uChar>& dataIn, Bool);
|
---|
[461] | 131 |
|
---|