| 1 | /* matrix/gsl_matrix_ulong.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_ULONG_H__ |
| 21 | #define __GSL_MATRIX_ULONG_H__cxx . . $ `external/gsl/gsl_matrix_ulong.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_ulong.h"cxx . . $ `<file>/external/gsl/gsl_vector_ulong.h`/ |
| 28 | |
| 29 | #undef __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_float.h:35:10`! |
| 30 | #undef __END_DECLScxx . . $ `external/gsl/gsl_matrix_float.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_ulong.h:35:10`! /* empty */ |
| 36 | # define __END_DECLScxx . . $ `external/gsl/gsl_matrix_ulong.h:36:10`! /* empty */ |
| 37 | #endif |
| 38 | |
| 39 | __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_ulong.h:35:10`! |
| 40 | |
| 41 | typedef structcxx . . $ $anonymous_type_2f1343c70ee73942_0# |
| 42 | { |
| 43 | size_t size1cxx . . $ $anonymous_type_2f1343c70ee73942_0#size1.; |
| 44 | size_t size2cxx . . $ $anonymous_type_2f1343c70ee73942_0#size2.; |
| 45 | size_t tdacxx . . $ $anonymous_type_2f1343c70ee73942_0#tda.; |
| 46 | unsigned long * datacxx . . $ $anonymous_type_2f1343c70ee73942_0#data.; |
| 47 | gsl_block_ulongcxx . . $ gsl_block_ulong# * blockcxx . . $ $anonymous_type_2f1343c70ee73942_0#block.; |
| 48 | int ownercxx . . $ $anonymous_type_2f1343c70ee73942_0#owner.; |
| 49 | } gsl_matrix_ulongcxx . . $ gsl_matrix_ulong#; |
| 50 | |
| 51 | typedef structcxx . . $ $anonymous_type_2f1343c70ee73942_1# |
| 52 | { |
| 53 | gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# matrixcxx . . $ $anonymous_type_2f1343c70ee73942_1#matrix.; |
| 54 | } _gsl_matrix_ulong_viewcxx . . $ _gsl_matrix_ulong_view#; |
| 55 | |
| 56 | typedef _gsl_matrix_ulong_viewcxx . . $ _gsl_matrix_ulong_view# gsl_matrix_ulong_viewcxx . . $ gsl_matrix_ulong_view#; |
| 57 | |
| 58 | typedef structcxx . . $ $anonymous_type_2f1343c70ee73942_2# |
| 59 | { |
| 60 | gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# matrixcxx . . $ $anonymous_type_2f1343c70ee73942_2#matrix.; |
| 61 | } _gsl_matrix_ulong_const_viewcxx . . $ _gsl_matrix_ulong_const_view#; |
| 62 | |
| 63 | typedef const _gsl_matrix_ulong_const_viewcxx . . $ _gsl_matrix_ulong_const_view# gsl_matrix_ulong_const_viewcxx . . $ gsl_matrix_ulong_const_view#; |
| 64 | |
| 65 | /* Allocation */ |
| 66 | |
| 67 | gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * |
| 68 | gsl_matrix_ulong_alloccxx . . $ gsl_matrix_ulong_alloc(1a1e71afa7bd4bde). (const size_t n1, const size_t n2); |
| 69 | |
| 70 | gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * |
| 71 | gsl_matrix_ulong_calloccxx . . $ gsl_matrix_ulong_calloc(1a1e71afa7bd4bde). (const size_t n1, const size_t n2); |
| 72 | |
| 73 | gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * |
| 74 | gsl_matrix_ulong_alloc_from_blockcxx . . $ gsl_matrix_ulong_alloc_from_block(c19d76b926f2e018). (gsl_block_ulongcxx . . $ gsl_block_ulong# * 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_ulongcxx . . $ gsl_matrix_ulong# * |
| 81 | gsl_matrix_ulong_alloc_from_matrixcxx . . $ gsl_matrix_ulong_alloc_from_matrix(8c62f089cebfee17). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * 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_ulongcxx . . $ gsl_vector_ulong# * |
| 88 | gsl_vector_ulong_alloc_row_from_matrixcxx . . $ gsl_vector_ulong_alloc_row_from_matrix(6dfe56d27dcfc64a). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 89 | const size_t i); |
| 90 | |
| 91 | gsl_vector_ulongcxx . . $ gsl_vector_ulong# * |
| 92 | gsl_vector_ulong_alloc_col_from_matrixcxx . . $ gsl_vector_ulong_alloc_col_from_matrix(6dfe56d27dcfc64a). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 93 | const size_t j); |
| 94 | |
| 95 | void gsl_matrix_ulong_freecxx . . $ gsl_matrix_ulong_free(fb2e39099d2ee017). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 96 | |
| 97 | /* Views */ |
| 98 | |
| 99 | _gsl_matrix_ulong_viewcxx . . $ _gsl_matrix_ulong_view# |
| 100 | gsl_matrix_ulong_submatrixcxx . . $ gsl_matrix_ulong_submatrix(7cef734ea4db21de). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 101 | const size_t i, const size_t j, |
| 102 | const size_t n1, const size_t n2); |
| 103 | |
| 104 | _gsl_vector_ulong_viewcxx . . $ _gsl_vector_ulong_view# |
| 105 | gsl_matrix_ulong_rowcxx . . $ gsl_matrix_ulong_row(1b7ec148814f2632). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i); |
| 106 | |
| 107 | _gsl_vector_ulong_viewcxx . . $ _gsl_vector_ulong_view# |
| 108 | gsl_matrix_ulong_columncxx . . $ gsl_matrix_ulong_column(1b7ec148814f2632). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t j); |
| 109 | |
| 110 | _gsl_vector_ulong_viewcxx . . $ _gsl_vector_ulong_view# |
| 111 | gsl_matrix_ulong_diagonalcxx . . $ gsl_matrix_ulong_diagonal(1339a036a69f50cb). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 112 | |
| 113 | _gsl_vector_ulong_viewcxx . . $ _gsl_vector_ulong_view# |
| 114 | gsl_matrix_ulong_subdiagonalcxx . . $ gsl_matrix_ulong_subdiagonal(1b7ec148814f2632). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t k); |
| 115 | |
| 116 | _gsl_vector_ulong_viewcxx . . $ _gsl_vector_ulong_view# |
| 117 | gsl_matrix_ulong_superdiagonalcxx . . $ gsl_matrix_ulong_superdiagonal(1b7ec148814f2632). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t k); |
| 118 | |
| 119 | _gsl_vector_ulong_viewcxx . . $ _gsl_vector_ulong_view# |
| 120 | gsl_matrix_ulong_subrowcxx . . $ gsl_matrix_ulong_subrow(57905ca130716264). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, |
| 121 | const size_t offset, const size_t n); |
| 122 | |
| 123 | _gsl_vector_ulong_viewcxx . . $ _gsl_vector_ulong_view# |
| 124 | gsl_matrix_ulong_subcolumncxx . . $ gsl_matrix_ulong_subcolumn(57905ca130716264). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t j, |
| 125 | const size_t offset, const size_t n); |
| 126 | |
| 127 | _gsl_matrix_ulong_viewcxx . . $ _gsl_matrix_ulong_view# |
| 128 | gsl_matrix_ulong_view_arraycxx . . $ gsl_matrix_ulong_view_array(9166720b4813053). (unsigned long * base, |
| 129 | const size_t n1, |
| 130 | const size_t n2); |
| 131 | |
| 132 | _gsl_matrix_ulong_viewcxx . . $ _gsl_matrix_ulong_view# |
| 133 | gsl_matrix_ulong_view_array_with_tdacxx . . $ gsl_matrix_ulong_view_array_with_tda(b29e641759e4b7aa). (unsigned long * base, |
| 134 | const size_t n1, |
| 135 | const size_t n2, |
| 136 | const size_t tda); |
| 137 | |
| 138 | |
| 139 | _gsl_matrix_ulong_viewcxx . . $ _gsl_matrix_ulong_view# |
| 140 | gsl_matrix_ulong_view_vectorcxx . . $ gsl_matrix_ulong_view_vector(69be7805506ad652). (gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v, |
| 141 | const size_t n1, |
| 142 | const size_t n2); |
| 143 | |
| 144 | _gsl_matrix_ulong_viewcxx . . $ _gsl_matrix_ulong_view# |
| 145 | gsl_matrix_ulong_view_vector_with_tdacxx . . $ gsl_matrix_ulong_view_vector_with_tda(b2aa401616feee11). (gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v, |
| 146 | const size_t n1, |
| 147 | const size_t n2, |
| 148 | const size_t tda); |
| 149 | |
| 150 | |
| 151 | _gsl_matrix_ulong_const_viewcxx . . $ _gsl_matrix_ulong_const_view# |
| 152 | gsl_matrix_ulong_const_submatrixcxx . . $ gsl_matrix_ulong_const_submatrix(5ab3eb6ed88efc52). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 153 | const size_t i, const size_t j, |
| 154 | const size_t n1, const size_t n2); |
| 155 | |
| 156 | _gsl_vector_ulong_const_viewcxx . . $ _gsl_vector_ulong_const_view# |
| 157 | gsl_matrix_ulong_const_rowcxx . . $ gsl_matrix_ulong_const_row(4893558c1465abfa). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 158 | const size_t i); |
| 159 | |
| 160 | _gsl_vector_ulong_const_viewcxx . . $ _gsl_vector_ulong_const_view# |
| 161 | gsl_matrix_ulong_const_columncxx . . $ gsl_matrix_ulong_const_column(4893558c1465abfa). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 162 | const size_t j); |
| 163 | |
| 164 | _gsl_vector_ulong_const_viewcxx . . $ _gsl_vector_ulong_const_view# |
| 165 | gsl_matrix_ulong_const_diagonalcxx . . $ gsl_matrix_ulong_const_diagonal(2341788a1d192b32). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 166 | |
| 167 | _gsl_vector_ulong_const_viewcxx . . $ _gsl_vector_ulong_const_view# |
| 168 | gsl_matrix_ulong_const_subdiagonalcxx . . $ gsl_matrix_ulong_const_subdiagonal(4893558c1465abfa). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 169 | const size_t k); |
| 170 | |
| 171 | _gsl_vector_ulong_const_viewcxx . . $ _gsl_vector_ulong_const_view# |
| 172 | gsl_matrix_ulong_const_superdiagonalcxx . . $ gsl_matrix_ulong_const_superdiagonal(4893558c1465abfa). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, |
| 173 | const size_t k); |
| 174 | |
| 175 | _gsl_vector_ulong_const_viewcxx . . $ _gsl_vector_ulong_const_view# |
| 176 | gsl_matrix_ulong_const_subrowcxx . . $ gsl_matrix_ulong_const_subrow(45f1186c00cc0907). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, |
| 177 | const size_t offset, const size_t n); |
| 178 | |
| 179 | _gsl_vector_ulong_const_viewcxx . . $ _gsl_vector_ulong_const_view# |
| 180 | gsl_matrix_ulong_const_subcolumncxx . . $ gsl_matrix_ulong_const_subcolumn(45f1186c00cc0907). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t j, |
| 181 | const size_t offset, const size_t n); |
| 182 | |
| 183 | _gsl_matrix_ulong_const_viewcxx . . $ _gsl_matrix_ulong_const_view# |
| 184 | gsl_matrix_ulong_const_view_arraycxx . . $ gsl_matrix_ulong_const_view_array(ef11b464c8a269bf). (const unsigned long * base, |
| 185 | const size_t n1, |
| 186 | const size_t n2); |
| 187 | |
| 188 | _gsl_matrix_ulong_const_viewcxx . . $ _gsl_matrix_ulong_const_view# |
| 189 | gsl_matrix_ulong_const_view_array_with_tdacxx . . $ gsl_matrix_ulong_const_view_array_with_tda(53fda91cbc32165e). (const unsigned long * base, |
| 190 | const size_t n1, |
| 191 | const size_t n2, |
| 192 | const size_t tda); |
| 193 | |
| 194 | _gsl_matrix_ulong_const_viewcxx . . $ _gsl_matrix_ulong_const_view# |
| 195 | gsl_matrix_ulong_const_view_vectorcxx . . $ gsl_matrix_ulong_const_view_vector(e871a9e731977060). (const gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v, |
| 196 | const size_t n1, |
| 197 | const size_t n2); |
| 198 | |
| 199 | _gsl_matrix_ulong_const_viewcxx . . $ _gsl_matrix_ulong_const_view# |
| 200 | gsl_matrix_ulong_const_view_vector_with_tdacxx . . $ gsl_matrix_ulong_const_view_vector_with_tda(2ad68f20414e8a8a). (const gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v, |
| 201 | const size_t n1, |
| 202 | const size_t n2, |
| 203 | const size_t tda); |
| 204 | |
| 205 | /* Operations */ |
| 206 | |
| 207 | unsigned long gsl_matrix_ulong_getcxx . . $ gsl_matrix_ulong_get(6f6c9a08aaf3d713).(const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const size_t j); |
| 208 | void gsl_matrix_ulong_setcxx . . $ gsl_matrix_ulong_set(3efa1baa0d5bb629).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const size_t j, const unsigned long x); |
| 209 | |
| 210 | unsigned long * gsl_matrix_ulong_ptrcxx . . $ gsl_matrix_ulong_ptr(64c2cf273d5a646d).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const size_t j); |
| 211 | const unsigned long * gsl_matrix_ulong_const_ptrcxx . . $ gsl_matrix_ulong_const_ptr(c2cbd27e7323e4fa).(const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const size_t j); |
| 212 | |
| 213 | void gsl_matrix_ulong_set_zerocxx . . $ gsl_matrix_ulong_set_zero(fb2e39099d2ee017). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 214 | void gsl_matrix_ulong_set_identitycxx . . $ gsl_matrix_ulong_set_identity(fb2e39099d2ee017). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 215 | void gsl_matrix_ulong_set_allcxx . . $ gsl_matrix_ulong_set_all(ca1392ce30992c27). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, unsigned long x); |
| 216 | |
| 217 | int gsl_matrix_ulong_freadcxx . . $ gsl_matrix_ulong_fread(5b9ce5f5e217321c). (FILEcxx . . $ FILE# * stream, gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m) ; |
| 218 | int gsl_matrix_ulong_fwritecxx . . $ gsl_matrix_ulong_fwrite(4472b9442ef097f3). (FILEcxx . . $ FILE# * stream, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m) ; |
| 219 | int gsl_matrix_ulong_fscanfcxx . . $ gsl_matrix_ulong_fscanf(5b9ce5f5e217321c). (FILEcxx . . $ FILE# * stream, gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 220 | int gsl_matrix_ulong_fprintfcxx . . $ gsl_matrix_ulong_fprintf(7e439b4679464639). (FILEcxx . . $ FILE# * stream, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const char * format); |
| 221 | |
| 222 | int gsl_matrix_ulong_memcpycxx . . $ gsl_matrix_ulong_memcpy(bdd258e91bcfbb84).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * dest, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * src); |
| 223 | int gsl_matrix_ulong_swapcxx . . $ gsl_matrix_ulong_swap(5e3fa3da6280d24a).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m1, gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m2); |
| 224 | |
| 225 | int gsl_matrix_ulong_swap_rowscxx . . $ gsl_matrix_ulong_swap_rows(9606077464da71b7).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const size_t j); |
| 226 | int gsl_matrix_ulong_swap_columnscxx . . $ gsl_matrix_ulong_swap_columns(9606077464da71b7).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const size_t j); |
| 227 | int gsl_matrix_ulong_swap_rowcolcxx . . $ gsl_matrix_ulong_swap_rowcol(9606077464da71b7).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const size_t j); |
| 228 | int gsl_matrix_ulong_transposecxx . . $ gsl_matrix_ulong_transpose(6aa82637dcea9566). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 229 | int gsl_matrix_ulong_transpose_memcpycxx . . $ gsl_matrix_ulong_transpose_memcpy(bdd258e91bcfbb84). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * dest, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * src); |
| 230 | |
| 231 | unsigned long gsl_matrix_ulong_maxcxx . . $ gsl_matrix_ulong_max(4e56bf2dca6b91f3). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 232 | unsigned long gsl_matrix_ulong_mincxx . . $ gsl_matrix_ulong_min(4e56bf2dca6b91f3). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 233 | void gsl_matrix_ulong_minmaxcxx . . $ gsl_matrix_ulong_minmax(cc76eff1b750813e). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, unsigned long * min_out, unsigned long * max_out); |
| 234 | |
| 235 | void gsl_matrix_ulong_max_indexcxx . . $ gsl_matrix_ulong_max_index(cc76eff1b750813e). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, size_t * imax, size_t *jmax); |
| 236 | void gsl_matrix_ulong_min_indexcxx . . $ gsl_matrix_ulong_min_index(cc76eff1b750813e). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, size_t * imin, size_t *jmin); |
| 237 | void gsl_matrix_ulong_minmax_indexcxx . . $ gsl_matrix_ulong_minmax_index(b6208ab8ce2ef63c). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, size_t * imin, size_t * jmin, size_t * imax, size_t * jmax); |
| 238 | |
| 239 | int gsl_matrix_ulong_isnullcxx . . $ gsl_matrix_ulong_isnull(e7488d6469dec7b6). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 240 | int gsl_matrix_ulong_isposcxx . . $ gsl_matrix_ulong_ispos(e7488d6469dec7b6). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 241 | int gsl_matrix_ulong_isnegcxx . . $ gsl_matrix_ulong_isneg(e7488d6469dec7b6). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 242 | int gsl_matrix_ulong_isnonnegcxx . . $ gsl_matrix_ulong_isnonneg(e7488d6469dec7b6). (const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m); |
| 243 | |
| 244 | int gsl_matrix_ulong_addcxx . . $ gsl_matrix_ulong_add(bdd258e91bcfbb84). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * a, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * b); |
| 245 | int gsl_matrix_ulong_subcxx . . $ gsl_matrix_ulong_sub(bdd258e91bcfbb84). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * a, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * b); |
| 246 | int gsl_matrix_ulong_mul_elementscxx . . $ gsl_matrix_ulong_mul_elements(bdd258e91bcfbb84). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * a, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * b); |
| 247 | int gsl_matrix_ulong_div_elementscxx . . $ gsl_matrix_ulong_div_elements(bdd258e91bcfbb84). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * a, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * b); |
| 248 | int gsl_matrix_ulong_scalecxx . . $ gsl_matrix_ulong_scale(36feef99808a2ec5). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * a, const double x); |
| 249 | int gsl_matrix_ulong_add_constantcxx . . $ gsl_matrix_ulong_add_constant(36feef99808a2ec5). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * a, const double x); |
| 250 | int gsl_matrix_ulong_add_diagonalcxx . . $ gsl_matrix_ulong_add_diagonal(36feef99808a2ec5). (gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * a, const double x); |
| 251 | |
| 252 | /***********************************************************************/ |
| 253 | /* The functions below are obsolete */ |
| 254 | /***********************************************************************/ |
| 255 | int gsl_matrix_ulong_get_rowcxx . . $ gsl_matrix_ulong_get_row(fe3a1a7e13410e6a).(gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i); |
| 256 | int gsl_matrix_ulong_get_colcxx . . $ gsl_matrix_ulong_get_col(fe3a1a7e13410e6a).(gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v, const gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t j); |
| 257 | int gsl_matrix_ulong_set_rowcxx . . $ gsl_matrix_ulong_set_row(751837a88abd16de).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t i, const gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v); |
| 258 | int gsl_matrix_ulong_set_colcxx . . $ gsl_matrix_ulong_set_col(751837a88abd16de).(gsl_matrix_ulongcxx . . $ gsl_matrix_ulong# * m, const size_t j, const gsl_vector_ulongcxx . . $ gsl_vector_ulong# * v); |
| 259 | |
| 260 | /* inline functions if you are using GCC */ |
| 261 | |
| 262 | #ifdef HAVE_INLINE |
| 263 | extern inline |
| 264 | unsigned long |
| 265 | gsl_matrix_ulong_get(const gsl_matrix_ulong * 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_ulong_set(gsl_matrix_ulong * m, const size_t i, const size_t j, const unsigned long 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 long * |
| 299 | gsl_matrix_ulong_ptr(gsl_matrix_ulong * 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 long *) (m->data + (i * m->tda + j)) ; |
| 312 | } |
| 313 | |
| 314 | extern inline |
| 315 | const unsigned long * |
| 316 | gsl_matrix_ulong_const_ptr(const gsl_matrix_ulong * 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 long *) (m->data + (i * m->tda + j)) ; |
| 329 | } |
| 330 | |
| 331 | #endif |
| 332 | |
| 333 | __END_DECLScxx . . $ `external/gsl/gsl_matrix_ulong.h:36:10`! |
| 334 | |
| 335 | #endif /* __GSL_MATRIX_ULONG_H__ */ |