GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
op-ui32-ui32.cc
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 1996-2013 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave 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
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20 
21 */
22 
23 #ifdef HAVE_CONFIG_H
24 #include <config.h>
25 #endif
26 
27 #include "mx-ui32nda-i8.h"
28 #include "mx-ui32nda-ui8.h"
29 #include "mx-ui32nda-i16.h"
30 #include "mx-ui32nda-ui16.h"
31 #include "mx-ui32nda-i32.h"
32 #include "mx-ui32nda-i64.h"
33 #include "mx-ui32nda-ui64.h"
34 
35 #include "mx-ui32nda-i8nda.h"
36 #include "mx-ui32nda-ui8nda.h"
37 #include "mx-ui32nda-i16nda.h"
38 #include "mx-ui32nda-ui16nda.h"
39 #include "mx-ui32nda-i32nda.h"
40 #include "mx-ui32nda-i64nda.h"
41 #include "mx-ui32nda-ui64nda.h"
42 
43 #include "mx-ui32-i8nda.h"
44 #include "mx-ui32-ui8nda.h"
45 #include "mx-ui32-i16nda.h"
46 #include "mx-ui32-ui16nda.h"
47 #include "mx-ui32-i32nda.h"
48 #include "mx-ui32-i64nda.h"
49 #include "mx-ui32-ui64nda.h"
50 
51 #include "mx-ui32nda-s.h"
52 #include "mx-s-ui32nda.h"
53 
54 #include "mx-ui32nda-nda.h"
55 #include "mx-nda-ui32nda.h"
56 
57 #include "mx-ui32-nda.h"
58 #include "mx-nda-ui32.h"
59 
60 #include "gripes.h"
61 #include "oct-obj.h"
62 #include "ov.h"
63 #include "ov-int16.h"
64 #include "ov-int32.h"
65 #include "ov-int64.h"
66 #include "ov-int8.h"
67 #include "ov-uint16.h"
68 #include "ov-uint32.h"
69 #include "ov-uint64.h"
70 #include "ov-uint8.h"
71 #include "ov-scalar.h"
72 #include "ov-float.h"
73 #include "ov-complex.h"
74 #include "ov-flt-complex.h"
75 #include "ov-re-mat.h"
76 #include "ov-flt-re-mat.h"
77 #include "ov-cx-mat.h"
78 #include "ov-flt-cx-mat.h"
79 #include "ov-typeinfo.h"
80 #include "ov-null-mat.h"
81 #include "ops.h"
82 #include "xdiv.h"
83 #include "xpow.h"
84 
85 #include "op-int.h"
86 
88 
89 OCTAVE_MS_INT_ASSIGN_OPS (mi8, uint32_, int8_, int8_)
90 OCTAVE_MS_INT_ASSIGN_OPS (mui8, uint32_, uint8_, uint8_)
91 OCTAVE_MS_INT_ASSIGN_OPS (mi16, uint32_, int16_, int16_)
92 OCTAVE_MS_INT_ASSIGN_OPS (mui16, uint32_, uint16_, uint16_)
93 OCTAVE_MS_INT_ASSIGN_OPS (mi32, uint32_, int32_, int32_)
94 OCTAVE_MS_INT_ASSIGN_OPS (mi64, uint32_, int64_, int64_)
95 OCTAVE_MS_INT_ASSIGN_OPS (mui64, uint32_, uint64_, uint64_)
96 
97 OCTAVE_MM_INT_ASSIGN_OPS (mmi8, uint32_, int8_, int8_)
98 OCTAVE_MM_INT_ASSIGN_OPS (mmui8, uint32_, uint8_, uint8_)
99 OCTAVE_MM_INT_ASSIGN_OPS (mmi16, uint32_, int16_, int16_)
100 OCTAVE_MM_INT_ASSIGN_OPS (mmui16, uint32_, uint16_, uint16_)
101 OCTAVE_MM_INT_ASSIGN_OPS (mmi32, uint32_, int32_, int32_)
102 OCTAVE_MM_INT_ASSIGN_OPS (mmi64, uint32_, int64_, int64_)
103 OCTAVE_MM_INT_ASSIGN_OPS (mmui64, uint32_, uint64_, uint64_)
104 
108 OCTAVE_MIXED_INT_CMP_OPS (uint32, uint16)
111 OCTAVE_MIXED_INT_CMP_OPS (uint32, uint64)
112 void
114 {
115  OCTAVE_INSTALL_INT_OPS (uint32);
116 
117  OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi8, uint32_, int8_);
118  OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui8, uint32_, uint8_);
119  OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi16, uint32_, int16_);
120  OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui16, uint32_, uint16_);
121  OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi32, uint32_, int32_);
122  OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mi64, uint32_, int64_);
123  OCTAVE_INSTALL_MS_INT_ASSIGN_OPS (mui64, uint32_, uint64_);
124 
125  OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi8, uint32_, int8_);
126  OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui8, uint32_, uint8_);
127  OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi16, uint32_, int16_);
128  OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui16, uint32_, uint16_);
129  OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi32, uint32_, int32_);
130  OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmi64, uint32_, int64_);
131  OCTAVE_INSTALL_MM_INT_ASSIGN_OPS (mmui64, uint32_, uint64_);
132 
133  OCTAVE_INSTALL_SM_INT_ASSIGNCONV (uint32, int8);
134  OCTAVE_INSTALL_SM_INT_ASSIGNCONV (uint32, uint8);
135  OCTAVE_INSTALL_SM_INT_ASSIGNCONV (uint32, int16);
136  OCTAVE_INSTALL_SM_INT_ASSIGNCONV (uint32, uint16);
137  OCTAVE_INSTALL_SM_INT_ASSIGNCONV (uint32, int32);
138  OCTAVE_INSTALL_SM_INT_ASSIGNCONV (uint32, int64);
139  OCTAVE_INSTALL_SM_INT_ASSIGNCONV (uint32, uint64);
140 
141  OCTAVE_INSTALL_MIXED_INT_CMP_OPS (uint32, int8);
142  OCTAVE_INSTALL_MIXED_INT_CMP_OPS (uint32, uint8);
143  OCTAVE_INSTALL_MIXED_INT_CMP_OPS (uint32, int16);
144  OCTAVE_INSTALL_MIXED_INT_CMP_OPS (uint32, uint16);
145  OCTAVE_INSTALL_MIXED_INT_CMP_OPS (uint32, int32);
146  OCTAVE_INSTALL_MIXED_INT_CMP_OPS (uint32, int64);
147  OCTAVE_INSTALL_MIXED_INT_CMP_OPS (uint32, uint64);
148 }