Debian Codegraph @

external/gsl/gsl_matrix_ushort.h

raw symbols SCIP
1 /* matrix/gsl_matrix_ushort.h
2 *
3 * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Gerard Jungman, Brian Gough
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19
20 #ifndef __GSL_MATRIX_USHORT_H__
21 #define __GSL_MATRIX_USHORT_H__cxx . . $ `external/gsl/gsl_matrix_ushort.h:21:9`!
22
23 #include <stdlib.h>
24 #include "gsl_types.h"cxx . . $ `<file>/external/gsl/gsl_types.h`/
25 #include "gsl_errno.h"cxx . . $ `<file>/external/gsl/gsl_errno.h`/
26 #include "gsl_check_range.h"cxx . . $ `<file>/external/gsl/gsl_check_range.h`/
27 #include "gsl_vector_ushort.h"cxx . . $ `<file>/external/gsl/gsl_vector_ushort.h`/
28
29 #undef __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_int.h:35:10`!
30 #undef __END_DECLScxx . . $ `external/gsl/gsl_vector_ushort.h:36:10`!
31 #ifdef __cplusplus
32 # define __BEGIN_DECLS extern "C" {
33 # define __END_DECLS }
34 #else
35 # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_ushort.h:35:10`! /* empty */
36 # define __END_DECLScxx . . $ `external/gsl/gsl_matrix_ushort.h:36:10`! /* empty */
37 #endif
38
39 __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_ushort.h:35:10`!
40
41 typedef structcxx . . $ $anonymous_type_fb878c6deed39fac_0#
42 {
43 size_t size1cxx . . $ $anonymous_type_fb878c6deed39fac_0#size1.;
44 size_t size2cxx . . $ $anonymous_type_fb878c6deed39fac_0#size2.;
45 size_t tdacxx . . $ $anonymous_type_fb878c6deed39fac_0#tda.;
46 unsigned short * datacxx . . $ $anonymous_type_fb878c6deed39fac_0#data.;
47 gsl_block_ushortcxx . . $ gsl_block_ushort# * blockcxx . . $ $anonymous_type_fb878c6deed39fac_0#block.;
48 int ownercxx . . $ $anonymous_type_fb878c6deed39fac_0#owner.;
49 } gsl_matrix_ushortcxx . . $ gsl_matrix_ushort#;
50
51 typedef structcxx . . $ $anonymous_type_fb878c6deed39fac_1#
52 {
53 gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# matrixcxx . . $ $anonymous_type_fb878c6deed39fac_1#matrix.;
54 } _gsl_matrix_ushort_viewcxx . . $ _gsl_matrix_ushort_view#;
55
56 typedef _gsl_matrix_ushort_viewcxx . . $ _gsl_matrix_ushort_view# gsl_matrix_ushort_viewcxx . . $ gsl_matrix_ushort_view#;
57
58 typedef structcxx . . $ $anonymous_type_fb878c6deed39fac_2#
59 {
60 gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# matrixcxx . . $ $anonymous_type_fb878c6deed39fac_2#matrix.;
61 } _gsl_matrix_ushort_const_viewcxx . . $ _gsl_matrix_ushort_const_view#;
62
63 typedef const _gsl_matrix_ushort_const_viewcxx . . $ _gsl_matrix_ushort_const_view# gsl_matrix_ushort_const_viewcxx . . $ gsl_matrix_ushort_const_view#;
64
65 /* Allocation */
66
67 gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# *
68 gsl_matrix_ushort_alloccxx . . $ gsl_matrix_ushort_alloc(1ce2b3949d4a355e). (const size_t n1, const size_t n2);
69
70 gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# *
71 gsl_matrix_ushort_calloccxx . . $ gsl_matrix_ushort_calloc(1ce2b3949d4a355e). (const size_t n1, const size_t n2);
72
73 gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# *
74 gsl_matrix_ushort_alloc_from_blockcxx . . $ gsl_matrix_ushort_alloc_from_block(d4c2b2adfaa8fca8). (gsl_block_ushortcxx . . $ gsl_block_ushort# * b,
75 const size_t offset,
76 const size_t n1,
77 const size_t n2,
78 const size_t d2);
79
80 gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# *
81 gsl_matrix_ushort_alloc_from_matrixcxx . . $ gsl_matrix_ushort_alloc_from_matrix(3debeaeac3fae2b2). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
82 const size_t k1,
83 const size_t k2,
84 const size_t n1,
85 const size_t n2);
86
87 gsl_vector_ushortcxx . . $ gsl_vector_ushort# *
88 gsl_vector_ushort_alloc_row_from_matrixcxx . . $ gsl_vector_ushort_alloc_row_from_matrix(d4bbf79123a8859a). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
89 const size_t i);
90
91 gsl_vector_ushortcxx . . $ gsl_vector_ushort# *
92 gsl_vector_ushort_alloc_col_from_matrixcxx . . $ gsl_vector_ushort_alloc_col_from_matrix(d4bbf79123a8859a). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
93 const size_t j);
94
95 void gsl_matrix_ushort_freecxx . . $ gsl_matrix_ushort_free(49b14a185d3bddc9). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
96
97 /* Views */
98
99 _gsl_matrix_ushort_viewcxx . . $ _gsl_matrix_ushort_view#
100 gsl_matrix_ushort_submatrixcxx . . $ gsl_matrix_ushort_submatrix(76626137245ccb2e). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
101 const size_t i, const size_t j,
102 const size_t n1, const size_t n2);
103
104 _gsl_vector_ushort_viewcxx . . $ _gsl_vector_ushort_view#
105 gsl_matrix_ushort_rowcxx . . $ gsl_matrix_ushort_row(96e5b1cde6a5bfac). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i);
106
107 _gsl_vector_ushort_viewcxx . . $ _gsl_vector_ushort_view#
108 gsl_matrix_ushort_columncxx . . $ gsl_matrix_ushort_column(96e5b1cde6a5bfac). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t j);
109
110 _gsl_vector_ushort_viewcxx . . $ _gsl_vector_ushort_view#
111 gsl_matrix_ushort_diagonalcxx . . $ gsl_matrix_ushort_diagonal(c7ad8d6cea0da0f2). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
112
113 _gsl_vector_ushort_viewcxx . . $ _gsl_vector_ushort_view#
114 gsl_matrix_ushort_subdiagonalcxx . . $ gsl_matrix_ushort_subdiagonal(96e5b1cde6a5bfac). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t k);
115
116 _gsl_vector_ushort_viewcxx . . $ _gsl_vector_ushort_view#
117 gsl_matrix_ushort_superdiagonalcxx . . $ gsl_matrix_ushort_superdiagonal(96e5b1cde6a5bfac). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t k);
118
119 _gsl_vector_ushort_viewcxx . . $ _gsl_vector_ushort_view#
120 gsl_matrix_ushort_subrowcxx . . $ gsl_matrix_ushort_subrow(de0bda0929f81ec). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i,
121 const size_t offset, const size_t n);
122
123 _gsl_vector_ushort_viewcxx . . $ _gsl_vector_ushort_view#
124 gsl_matrix_ushort_subcolumncxx . . $ gsl_matrix_ushort_subcolumn(de0bda0929f81ec). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t j,
125 const size_t offset, const size_t n);
126
127 _gsl_matrix_ushort_viewcxx . . $ _gsl_matrix_ushort_view#
128 gsl_matrix_ushort_view_arraycxx . . $ gsl_matrix_ushort_view_array(34239abf5d13f855). (unsigned short * base,
129 const size_t n1,
130 const size_t n2);
131
132 _gsl_matrix_ushort_viewcxx . . $ _gsl_matrix_ushort_view#
133 gsl_matrix_ushort_view_array_with_tdacxx . . $ gsl_matrix_ushort_view_array_with_tda(b5e6ef0d44e12e11). (unsigned short * base,
134 const size_t n1,
135 const size_t n2,
136 const size_t tda);
137
138
139 _gsl_matrix_ushort_viewcxx . . $ _gsl_matrix_ushort_view#
140 gsl_matrix_ushort_view_vectorcxx . . $ gsl_matrix_ushort_view_vector(f4b86b806c17ba7e). (gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v,
141 const size_t n1,
142 const size_t n2);
143
144 _gsl_matrix_ushort_viewcxx . . $ _gsl_matrix_ushort_view#
145 gsl_matrix_ushort_view_vector_with_tdacxx . . $ gsl_matrix_ushort_view_vector_with_tda(d0934dba51662724). (gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v,
146 const size_t n1,
147 const size_t n2,
148 const size_t tda);
149
150
151 _gsl_matrix_ushort_const_viewcxx . . $ _gsl_matrix_ushort_const_view#
152 gsl_matrix_ushort_const_submatrixcxx . . $ gsl_matrix_ushort_const_submatrix(4d50adecefdd3b0f). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
153 const size_t i, const size_t j,
154 const size_t n1, const size_t n2);
155
156 _gsl_vector_ushort_const_viewcxx . . $ _gsl_vector_ushort_const_view#
157 gsl_matrix_ushort_const_rowcxx . . $ gsl_matrix_ushort_const_row(ebaf33bd326af375). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
158 const size_t i);
159
160 _gsl_vector_ushort_const_viewcxx . . $ _gsl_vector_ushort_const_view#
161 gsl_matrix_ushort_const_columncxx . . $ gsl_matrix_ushort_const_column(ebaf33bd326af375). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
162 const size_t j);
163
164 _gsl_vector_ushort_const_viewcxx . . $ _gsl_vector_ushort_const_view#
165 gsl_matrix_ushort_const_diagonalcxx . . $ gsl_matrix_ushort_const_diagonal(21adc7837f71cbeb). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
166
167 _gsl_vector_ushort_const_viewcxx . . $ _gsl_vector_ushort_const_view#
168 gsl_matrix_ushort_const_subdiagonalcxx . . $ gsl_matrix_ushort_const_subdiagonal(ebaf33bd326af375). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
169 const size_t k);
170
171 _gsl_vector_ushort_const_viewcxx . . $ _gsl_vector_ushort_const_view#
172 gsl_matrix_ushort_const_superdiagonalcxx . . $ gsl_matrix_ushort_const_superdiagonal(ebaf33bd326af375). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m,
173 const size_t k);
174
175 _gsl_vector_ushort_const_viewcxx . . $ _gsl_vector_ushort_const_view#
176 gsl_matrix_ushort_const_subrowcxx . . $ gsl_matrix_ushort_const_subrow(d5c084644ab2ed1d). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i,
177 const size_t offset, const size_t n);
178
179 _gsl_vector_ushort_const_viewcxx . . $ _gsl_vector_ushort_const_view#
180 gsl_matrix_ushort_const_subcolumncxx . . $ gsl_matrix_ushort_const_subcolumn(d5c084644ab2ed1d). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t j,
181 const size_t offset, const size_t n);
182
183 _gsl_matrix_ushort_const_viewcxx . . $ _gsl_matrix_ushort_const_view#
184 gsl_matrix_ushort_const_view_arraycxx . . $ gsl_matrix_ushort_const_view_array(f7039cee1bb117c7). (const unsigned short * base,
185 const size_t n1,
186 const size_t n2);
187
188 _gsl_matrix_ushort_const_viewcxx . . $ _gsl_matrix_ushort_const_view#
189 gsl_matrix_ushort_const_view_array_with_tdacxx . . $ gsl_matrix_ushort_const_view_array_with_tda(36b9afcfac899d52). (const unsigned short * base,
190 const size_t n1,
191 const size_t n2,
192 const size_t tda);
193
194 _gsl_matrix_ushort_const_viewcxx . . $ _gsl_matrix_ushort_const_view#
195 gsl_matrix_ushort_const_view_vectorcxx . . $ gsl_matrix_ushort_const_view_vector(3b51677bf0e5ae3a). (const gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v,
196 const size_t n1,
197 const size_t n2);
198
199 _gsl_matrix_ushort_const_viewcxx . . $ _gsl_matrix_ushort_const_view#
200 gsl_matrix_ushort_const_view_vector_with_tdacxx . . $ gsl_matrix_ushort_const_view_vector_with_tda(2fcf120827679d81). (const gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v,
201 const size_t n1,
202 const size_t n2,
203 const size_t tda);
204
205 /* Operations */
206
207 unsigned short gsl_matrix_ushort_getcxx . . $ gsl_matrix_ushort_get(2ff6e9ba1862de09).(const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const size_t j);
208 void gsl_matrix_ushort_setcxx . . $ gsl_matrix_ushort_set(6cb56a57df03c992).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const size_t j, const unsigned short x);
209
210 unsigned short * gsl_matrix_ushort_ptrcxx . . $ gsl_matrix_ushort_ptr(829ecbe6ea29d785).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const size_t j);
211 const unsigned short * gsl_matrix_ushort_const_ptrcxx . . $ gsl_matrix_ushort_const_ptr(31eb1eca342ae13).(const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const size_t j);
212
213 void gsl_matrix_ushort_set_zerocxx . . $ gsl_matrix_ushort_set_zero(49b14a185d3bddc9). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
214 void gsl_matrix_ushort_set_identitycxx . . $ gsl_matrix_ushort_set_identity(49b14a185d3bddc9). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
215 void gsl_matrix_ushort_set_allcxx . . $ gsl_matrix_ushort_set_all(d87c8648069105a6). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, unsigned short x);
216
217 int gsl_matrix_ushort_freadcxx . . $ gsl_matrix_ushort_fread(dc607be686b8e34). (FILEcxx . . $ FILE# * stream, gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m) ;
218 int gsl_matrix_ushort_fwritecxx . . $ gsl_matrix_ushort_fwrite(69a8b09bc20ce181). (FILEcxx . . $ FILE# * stream, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m) ;
219 int gsl_matrix_ushort_fscanfcxx . . $ gsl_matrix_ushort_fscanf(dc607be686b8e34). (FILEcxx . . $ FILE# * stream, gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
220 int gsl_matrix_ushort_fprintfcxx . . $ gsl_matrix_ushort_fprintf(c7687590136fd78). (FILEcxx . . $ FILE# * stream, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const char * format);
221
222 int gsl_matrix_ushort_memcpycxx . . $ gsl_matrix_ushort_memcpy(31fa75f46905710c).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * dest, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * src);
223 int gsl_matrix_ushort_swapcxx . . $ gsl_matrix_ushort_swap(a18ebb4f559bc6a2).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m1, gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m2);
224
225 int gsl_matrix_ushort_swap_rowscxx . . $ gsl_matrix_ushort_swap_rows(cd5dff4b2864642a).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const size_t j);
226 int gsl_matrix_ushort_swap_columnscxx . . $ gsl_matrix_ushort_swap_columns(cd5dff4b2864642a).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const size_t j);
227 int gsl_matrix_ushort_swap_rowcolcxx . . $ gsl_matrix_ushort_swap_rowcol(cd5dff4b2864642a).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const size_t j);
228 int gsl_matrix_ushort_transposecxx . . $ gsl_matrix_ushort_transpose(8730a46918c52233). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
229 int gsl_matrix_ushort_transpose_memcpycxx . . $ gsl_matrix_ushort_transpose_memcpy(31fa75f46905710c). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * dest, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * src);
230
231 unsigned short gsl_matrix_ushort_maxcxx . . $ gsl_matrix_ushort_max(3080cd53442adbfb). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
232 unsigned short gsl_matrix_ushort_mincxx . . $ gsl_matrix_ushort_min(3080cd53442adbfb). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
233 void gsl_matrix_ushort_minmaxcxx . . $ gsl_matrix_ushort_minmax(76557d987fa02517). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, unsigned short * min_out, unsigned short * max_out);
234
235 void gsl_matrix_ushort_max_indexcxx . . $ gsl_matrix_ushort_max_index(62db99360bd5c00f). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, size_t * imax, size_t *jmax);
236 void gsl_matrix_ushort_min_indexcxx . . $ gsl_matrix_ushort_min_index(62db99360bd5c00f). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, size_t * imin, size_t *jmin);
237 void gsl_matrix_ushort_minmax_indexcxx . . $ gsl_matrix_ushort_minmax_index(5db2cc8fb58f1457). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, size_t * imin, size_t * jmin, size_t * imax, size_t * jmax);
238
239 int gsl_matrix_ushort_isnullcxx . . $ gsl_matrix_ushort_isnull(7d4044c719b59626). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
240 int gsl_matrix_ushort_isposcxx . . $ gsl_matrix_ushort_ispos(7d4044c719b59626). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
241 int gsl_matrix_ushort_isnegcxx . . $ gsl_matrix_ushort_isneg(7d4044c719b59626). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
242 int gsl_matrix_ushort_isnonnegcxx . . $ gsl_matrix_ushort_isnonneg(7d4044c719b59626). (const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m);
243
244 int gsl_matrix_ushort_addcxx . . $ gsl_matrix_ushort_add(31fa75f46905710c). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * a, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * b);
245 int gsl_matrix_ushort_subcxx . . $ gsl_matrix_ushort_sub(31fa75f46905710c). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * a, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * b);
246 int gsl_matrix_ushort_mul_elementscxx . . $ gsl_matrix_ushort_mul_elements(31fa75f46905710c). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * a, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * b);
247 int gsl_matrix_ushort_div_elementscxx . . $ gsl_matrix_ushort_div_elements(31fa75f46905710c). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * a, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * b);
248 int gsl_matrix_ushort_scalecxx . . $ gsl_matrix_ushort_scale(e665f1ee637c125e). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * a, const double x);
249 int gsl_matrix_ushort_add_constantcxx . . $ gsl_matrix_ushort_add_constant(e665f1ee637c125e). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * a, const double x);
250 int gsl_matrix_ushort_add_diagonalcxx . . $ gsl_matrix_ushort_add_diagonal(e665f1ee637c125e). (gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * a, const double x);
251
252 /***********************************************************************/
253 /* The functions below are obsolete */
254 /***********************************************************************/
255 int gsl_matrix_ushort_get_rowcxx . . $ gsl_matrix_ushort_get_row(fd761107fe7a9d3d).(gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i);
256 int gsl_matrix_ushort_get_colcxx . . $ gsl_matrix_ushort_get_col(fd761107fe7a9d3d).(gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v, const gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t j);
257 int gsl_matrix_ushort_set_rowcxx . . $ gsl_matrix_ushort_set_row(1193550340e491f7).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t i, const gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v);
258 int gsl_matrix_ushort_set_colcxx . . $ gsl_matrix_ushort_set_col(1193550340e491f7).(gsl_matrix_ushortcxx . . $ gsl_matrix_ushort# * m, const size_t j, const gsl_vector_ushortcxx . . $ gsl_vector_ushort# * v);
259
260 /* inline functions if you are using GCC */
261
262 #ifdef HAVE_INLINE
263 extern inline
264 unsigned short
265 gsl_matrix_ushort_get(const gsl_matrix_ushort * m, const size_t i, const size_t j)
266 {
267 #if GSL_RANGE_CHECK
268 if (i >= m->size1)
269 {
270 GSL_ERROR_VAL("first index out of range", GSL_EINVAL, 0) ;
271 }
272 else if (j >= m->size2)
273 {
274 GSL_ERROR_VAL("second index out of range", GSL_EINVAL, 0) ;
275 }
276 #endif
277 return m->data[i * m->tda + j] ;
278 }
279
280 extern inline
281 void
282 gsl_matrix_ushort_set(gsl_matrix_ushort * m, const size_t i, const size_t j, const unsigned short x)
283 {
284 #if GSL_RANGE_CHECK
285 if (i >= m->size1)
286 {
287 GSL_ERROR_VOID("first index out of range", GSL_EINVAL) ;
288 }
289 else if (j >= m->size2)
290 {
291 GSL_ERROR_VOID("second index out of range", GSL_EINVAL) ;
292 }
293 #endif
294 m->data[i * m->tda + j] = x ;
295 }
296
297 extern inline
298 unsigned short *
299 gsl_matrix_ushort_ptr(gsl_matrix_ushort * m, const size_t i, const size_t j)
300 {
301 #if GSL_RANGE_CHECK
302 if (i >= m->size1)
303 {
304 GSL_ERROR_NULL("first index out of range", GSL_EINVAL) ;
305 }
306 else if (j >= m->size2)
307 {
308 GSL_ERROR_NULL("second index out of range", GSL_EINVAL) ;
309 }
310 #endif
311 return (unsigned short *) (m->data + (i * m->tda + j)) ;
312 }
313
314 extern inline
315 const unsigned short *
316 gsl_matrix_ushort_const_ptr(const gsl_matrix_ushort * m, const size_t i, const size_t j)
317 {
318 #if GSL_RANGE_CHECK
319 if (i >= m->size1)
320 {
321 GSL_ERROR_NULL("first index out of range", GSL_EINVAL) ;
322 }
323 else if (j >= m->size2)
324 {
325 GSL_ERROR_NULL("second index out of range", GSL_EINVAL) ;
326 }
327 #endif
328 return (const unsigned short *) (m->data + (i * m->tda + j)) ;
329 }
330
331 #endif
332
333 __END_DECLScxx . . $ `external/gsl/gsl_matrix_ushort.h:36:10`!
334
335 #endif /* __GSL_MATRIX_USHORT_H__ */