source: trunk/src/SDTemplates.cc@ 244

Last change on this file since 244 was 243, checked in by kil064, 20 years ago

coupled more MA templates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.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/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]42namespace 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]51template void objcopy<CountedPtr<asap::SDMemTable> >(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
52template void objmove<CountedPtr<asap::SDMemTable> >(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
53template 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>
58#include <casa/Arrays/Array.h>
59#include <scimath/Functionals/CompiledFunction.cc>
60#include <scimath/Functionals/CompiledParam.cc>
61#include <scimath/Mathematics/AutoDiff.h>
62#include <scimath/Mathematics/AutoDiffMath.h>
63#include <casa/Arrays/Vector2.cc>
[132]64#include <lattices/Lattices/LatticeUtilities.cc>
[81]65#include <casa/Utilities/PtrHolder.cc>
66#include <lattices/Lattices/Lattice.h>
[2]67
[125]68template void convertArray<Bool, uChar>(Array<Bool> &, Array<uChar> const &);
69template void convertArray<uChar, Bool>(Array<uChar> &, Array<Bool> const &);
70template LogicalArray operator!=<Float>(Array<Float> const &, Float 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 Array<Float>& operator/=<Float>(Array<Float>&, MaskedArray<Float> const&);
75template MaskedArray<Float> const& operator*=<Float>(MaskedArray<Float> const&, Float const&);
[239]76template MaskedArray<Float> operator+<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
[125]77template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
[239]78template MaskedArray<Float> operator*<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
79template MaskedArray<Float> operator/<Float>(MaskedArray<Float> const&, MaskedArray<Float> const&);
[125]80template MaskedArray<Float> const& operator/=<Float>(MaskedArray<Float> const&, Float const&);
[243]81template MaskedArray<Float> operator-<Float>(MaskedArray<Float> const&, Array<Float> const&);
82template MaskedArray<Float> operator*<Float>(Array<Float> const&, MaskedArray<Float> const&);
[125]83template Float stddev<Float>(MaskedArray<Float> const&);
[132]84template Float median<Float>(MaskedArray<Float> const&);
85template Float sumsquares<Float>(MaskedArray<Float> const&);
86template Float avdev<Float>(MaskedArray<Float> const&);
[40]87template class CompiledFunction<AutoDiff<Float> >;
88template class CompiledParam<AutoDiff<Float> >;
[59]89template Vector<Bool>::Vector(const vector<bool> &);
[93]90template Vector<Float>::Vector(const vector<float> &);
91template Vector<Double>::Vector(const vector<double> &);
[40]92template void Array<float>::tovector(vector<float> &) const;
[93]93template void Array<Bool>::tovector(vector<bool> &) const;
[132]94template void LatticeUtilities::bin(MaskedArray<float>&, MaskedArray<float> const&, uInt, uInt);
[59]95template class PtrHolder<Lattice<Float> >;
[137]96#include "MathUtils2.cc"
[125]97namespace mathutil {
98 template void hanning(Vector<Float>&, Vector<Bool>&,
99 const Vector<Float>&,
100 const Vector<Bool>&,
101 Bool, Bool);
102}
Note: See TracBrowser for help on using the repository browser.