Array-i.cc

Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (C) 1994-2012 John W. Eaton
00004 
00005 This file is part of Octave.
00006 
00007 Octave is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU General Public License as published by the
00009 Free Software Foundation; either version 3 of the License, or (at your
00010 option) any later version.
00011 
00012 Octave is distributed in the hope that it will be useful, but WITHOUT
00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00015 for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Octave; see the file COPYING.  If not, see
00019 <http://www.gnu.org/licenses/>.
00020 
00021 */
00022 
00023 #ifdef HAVE_CONFIG_H
00024 #include <config.h>
00025 #endif
00026 
00027 #include "oct-inttypes.h"
00028 
00029 // Instantiate Arrays of integer values.
00030 
00031 #include "Array.h"
00032 #include "Array.cc"
00033 
00034 #define INLINE_ASCENDING_SORT
00035 #define INLINE_DESCENDING_SORT
00036 #include "oct-sort.cc"
00037 
00038 INSTANTIATE_ARRAY_SORT (int);
00039 INSTANTIATE_ARRAY_SORT (long);
00040 #if defined (HAVE_LONG_LONG_INT)
00041 INSTANTIATE_ARRAY_SORT (long long);
00042 #endif
00043 
00044 INSTANTIATE_ARRAY (int, OCTAVE_API);
00045 INSTANTIATE_ARRAY (long, OCTAVE_API);
00046 #if defined (HAVE_LONG_LONG_INT)
00047 INSTANTIATE_ARRAY (long long, OCTAVE_API);
00048 #endif
00049 
00050 INSTANTIATE_ARRAY_SORT (octave_int8);
00051 INSTANTIATE_ARRAY_SORT (octave_int16);
00052 INSTANTIATE_ARRAY_SORT (octave_int32);
00053 INSTANTIATE_ARRAY_SORT (octave_int64);
00054 
00055 INSTANTIATE_ARRAY (octave_int8, OCTAVE_API);
00056 INSTANTIATE_ARRAY (octave_int16, OCTAVE_API);
00057 INSTANTIATE_ARRAY (octave_int32, OCTAVE_API);
00058 INSTANTIATE_ARRAY (octave_int64, OCTAVE_API);
00059 
00060 INSTANTIATE_ARRAY_SORT (octave_uint8);
00061 INSTANTIATE_ARRAY_SORT (octave_uint16);
00062 INSTANTIATE_ARRAY_SORT (octave_uint32);
00063 INSTANTIATE_ARRAY_SORT (octave_uint64);
00064 
00065 INSTANTIATE_ARRAY (octave_uint8, OCTAVE_API);
00066 INSTANTIATE_ARRAY (octave_uint16, OCTAVE_API);
00067 INSTANTIATE_ARRAY (octave_uint32, OCTAVE_API);
00068 INSTANTIATE_ARRAY (octave_uint64, OCTAVE_API);
00069 
00070 #include "DiagArray2.h"
00071 #include "DiagArray2.cc"
00072 
00073 template class OCTAVE_API DiagArray2<int>;
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines