source: trunk/src/SDTemplates.cc@ 95

Last change on this file since 95 was 93, checked in by mar637, 20 years ago

added new tamplates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 KB
Line 
1//#---------------------------------------------------------------------------
2//# SDTemplates.cc: explicit templates for aips++
3//#---------------------------------------------------------------------------
4//# Copyright (C) 2004
5//# Malte Marquarding, ATNF
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//#---------------------------------------------------------------------------
31#include <casa/Containers/Block.h>
32#include <casa/Exceptions/Error.cc>
33#include <casa/Exceptions/Error2.cc>
34#include <casa/Utilities/CountedPtr.cc>
35#include <casa/Utilities/CountedPtr2.cc>
36#include <casa/Utilities/Copy.cc>
37#include "SDMemTable.h"
38
39namespace asap {
40 template class CountedConstPtr<SDMemTable>;
41 template class CountedPtr<SDMemTable>;
42 template class PtrRep<SDMemTable>;
43 template class SimpleCountedConstPtr<SDMemTable>;
44 template class SimpleCountedPtr<SDMemTable>;
45 template class Block<CountedPtr<SDMemTable> >;
46}
47template void objcopy(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
48template void objmove(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable> const *, uInt);
49template void objset(CountedPtr<asap::SDMemTable> *, CountedPtr<asap::SDMemTable>, uInt);
50
51#include <casa/Arrays/ArrayLogical.cc>
52#include <casa/Arrays/ArrayMath.cc>
53#include <casa/Arrays/MaskArrMath.cc>
54#include <casa/Arrays/Array.h>
55#include <scimath/Functionals/CompiledFunction.cc>
56#include <scimath/Functionals/CompiledParam.cc>
57#include <scimath/Mathematics/AutoDiff.h>
58#include <scimath/Mathematics/AutoDiffMath.h>
59#include <casa/Arrays/Vector2.cc>
60#include <images/Images/ImageUtilities2.cc>
61#include <casa/Utilities/PtrHolder.cc>
62#include <lattices/Lattices/Lattice.h>
63#include "MathUtils.cc"
64
65template void convertArray(Array<Bool> &, Array<uChar> const &);
66template void convertArray(Array<uChar> &, Array<Bool> const &);
67template LogicalArray operator!=(Array<Float> const &, Float const &);
68template LogicalArray operator==(Array<Float> const &, Float const &);
69template LogicalArray operator>(Array<Float> const &, Float const &);
70template LogicalArray operator>=(Array<Float> const &, Float const &);
71template Array<Float>& operator/=(Array<Float>&, MaskedArray<Float> const&);
72template MaskedArray<Float> const& operator*=(MaskedArray<Float> const&, Float const&);
73template MaskedArray<Float> operator-(MaskedArray<Float> const&, MaskedArray<Float> const&);
74template MaskedArray<Float> const& operator/=(MaskedArray<Float> const&, Float const&);
75template Float stddev(MaskedArray<Float> const&);
76template class CompiledFunction<AutoDiff<Float> >;
77template class CompiledParam<AutoDiff<Float> >;
78template Vector<Bool>::Vector(const vector<bool> &);
79template Vector<Float>::Vector(const vector<float> &);
80template Vector<Double>::Vector(const vector<double> &);
81template void Array<float>::tovector(vector<float> &) const;
82template void Array<Bool>::tovector(vector<bool> &) const;
83template void hanning(Vector<Float>&, Vector<Bool>&,
84 const Vector<Float>&, const Vector<Bool>&, Bool, Bool);
85template void ImageUtilities::bin(MaskedArray<float>&, Coordinate&, MaskedArray<float> const&, Coordinate const&, uInt, uInt);
86template class PtrHolder<Lattice<Float> >;
87
Note: See TracBrowser for help on using the repository browser.