| 1 | /* matrix/gsl_matrix_complex_float.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_COMPLEX_FLOAT_H__ |
| 21 | #define __GSL_MATRIX_COMPLEX_FLOAT_H__cxx . . $ `external/gsl/gsl_matrix_complex_float.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_complex.h"cxx . . $ `<file>/external/gsl/gsl_complex.h`/ |
| 27 | #include "gsl_check_range.h"cxx . . $ `<file>/external/gsl/gsl_check_range.h`/ |
| 28 | #include "gsl_vector_complex_float.h"cxx . . $ `<file>/external/gsl/gsl_vector_complex_float.h`/ |
| 29 | |
| 30 | #undef __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_complex_double.h:36:10`! |
| 31 | #undef __END_DECLScxx . . $ `external/gsl/gsl_vector_complex_float.h:39:10`! |
| 32 | #ifdef __cplusplus |
| 33 | # define __BEGIN_DECLS extern "C" { |
| 34 | # define __END_DECLS } |
| 35 | #else |
| 36 | # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_complex_float.h:36:10`! /* empty */ |
| 37 | # define __END_DECLScxx . . $ `external/gsl/gsl_matrix_complex_float.h:37:10`! /* empty */ |
| 38 | #endif |
| 39 | |
| 40 | __BEGIN_DECLScxx . . $ `external/gsl/gsl_matrix_complex_float.h:36:10`! |
| 41 | |
| 42 | typedef structcxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_0# |
| 43 | { |
| 44 | size_t size1cxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_0#size1.; |
| 45 | size_t size2cxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_0#size2.; |
| 46 | size_t tdacxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_0#tda.; |
| 47 | float * datacxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_0#data.; |
| 48 | gsl_block_complex_floatcxx . . $ gsl_block_complex_float# * blockcxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_0#block.; |
| 49 | int ownercxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_0#owner.; |
| 50 | } gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# ; |
| 51 | |
| 52 | typedef structcxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_1# |
| 53 | { |
| 54 | gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# matrixcxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_1#matrix.; |
| 55 | } _gsl_matrix_complex_float_viewcxx . . $ _gsl_matrix_complex_float_view#; |
| 56 | |
| 57 | typedef _gsl_matrix_complex_float_viewcxx . . $ _gsl_matrix_complex_float_view# gsl_matrix_complex_float_viewcxx . . $ gsl_matrix_complex_float_view#; |
| 58 | |
| 59 | typedef structcxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_2# |
| 60 | { |
| 61 | gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# matrixcxx . . $ $anonymous_type_abaf0cb3b3b7fb7e_2#matrix.; |
| 62 | } _gsl_matrix_complex_float_const_viewcxx . . $ _gsl_matrix_complex_float_const_view#; |
| 63 | |
| 64 | typedef const _gsl_matrix_complex_float_const_viewcxx . . $ _gsl_matrix_complex_float_const_view# gsl_matrix_complex_float_const_viewcxx . . $ gsl_matrix_complex_float_const_view#; |
| 65 | |
| 66 | |
| 67 | /* Allocation */ |
| 68 | |
| 69 | gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * |
| 70 | gsl_matrix_complex_float_alloccxx . . $ gsl_matrix_complex_float_alloc(6e8b4a7f088eb988). (const size_t n1, const size_t n2); |
| 71 | |
| 72 | gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * |
| 73 | gsl_matrix_complex_float_calloccxx . . $ gsl_matrix_complex_float_calloc(6e8b4a7f088eb988). (const size_t n1, const size_t n2); |
| 74 | |
| 75 | gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * |
| 76 | gsl_matrix_complex_float_alloc_from_blockcxx . . $ gsl_matrix_complex_float_alloc_from_block(1233acca0c737d5a). (gsl_block_complex_floatcxx . . $ gsl_block_complex_float# * b, |
| 77 | const size_t offset, |
| 78 | const size_t n1, const size_t n2, const size_t d2); |
| 79 | |
| 80 | gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * |
| 81 | gsl_matrix_complex_float_alloc_from_matrixcxx . . $ gsl_matrix_complex_float_alloc_from_matrix(31d98dd883e928c3). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * b, |
| 82 | const size_t k1, const size_t k2, |
| 83 | const size_t n1, const size_t n2); |
| 84 | |
| 85 | gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * |
| 86 | gsl_vector_complex_float_alloc_row_from_matrixcxx . . $ gsl_vector_complex_float_alloc_row_from_matrix(7e0c1e331934f41). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 87 | const size_t i); |
| 88 | |
| 89 | gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * |
| 90 | gsl_vector_complex_float_alloc_col_from_matrixcxx . . $ gsl_vector_complex_float_alloc_col_from_matrix(7e0c1e331934f41). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 91 | const size_t j); |
| 92 | |
| 93 | void gsl_matrix_complex_float_freecxx . . $ gsl_matrix_complex_float_free(54d4d50d6977c388). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 94 | |
| 95 | /* Views */ |
| 96 | |
| 97 | _gsl_matrix_complex_float_viewcxx . . $ _gsl_matrix_complex_float_view# |
| 98 | gsl_matrix_complex_float_submatrixcxx . . $ gsl_matrix_complex_float_submatrix(d6f369e18f737350). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 99 | const size_t i, const size_t j, |
| 100 | const size_t n1, const size_t n2); |
| 101 | |
| 102 | _gsl_vector_complex_float_viewcxx . . $ _gsl_vector_complex_float_view# |
| 103 | gsl_matrix_complex_float_rowcxx . . $ gsl_matrix_complex_float_row(91f192db02bf4d97). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i); |
| 104 | |
| 105 | _gsl_vector_complex_float_viewcxx . . $ _gsl_vector_complex_float_view# |
| 106 | gsl_matrix_complex_float_columncxx . . $ gsl_matrix_complex_float_column(91f192db02bf4d97). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t j); |
| 107 | |
| 108 | _gsl_vector_complex_float_viewcxx . . $ _gsl_vector_complex_float_view# |
| 109 | gsl_matrix_complex_float_diagonalcxx . . $ gsl_matrix_complex_float_diagonal(d71edd72cbcdf301). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 110 | |
| 111 | _gsl_vector_complex_float_viewcxx . . $ _gsl_vector_complex_float_view# |
| 112 | gsl_matrix_complex_float_subdiagonalcxx . . $ gsl_matrix_complex_float_subdiagonal(91f192db02bf4d97). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t k); |
| 113 | |
| 114 | _gsl_vector_complex_float_viewcxx . . $ _gsl_vector_complex_float_view# |
| 115 | gsl_matrix_complex_float_superdiagonalcxx . . $ gsl_matrix_complex_float_superdiagonal(91f192db02bf4d97). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t k); |
| 116 | |
| 117 | _gsl_vector_complex_float_viewcxx . . $ _gsl_vector_complex_float_view# |
| 118 | gsl_matrix_complex_float_subrowcxx . . $ gsl_matrix_complex_float_subrow(4914ede8a363925a). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 119 | const size_t i, const size_t offset, |
| 120 | const size_t n); |
| 121 | |
| 122 | _gsl_vector_complex_float_viewcxx . . $ _gsl_vector_complex_float_view# |
| 123 | gsl_matrix_complex_float_subcolumncxx . . $ gsl_matrix_complex_float_subcolumn(4914ede8a363925a). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 124 | const size_t j, const size_t offset, |
| 125 | const size_t n); |
| 126 | |
| 127 | _gsl_matrix_complex_float_viewcxx . . $ _gsl_matrix_complex_float_view# |
| 128 | gsl_matrix_complex_float_view_arraycxx . . $ gsl_matrix_complex_float_view_array(6ecabfb248954895). (float * base, |
| 129 | const size_t n1, |
| 130 | const size_t n2); |
| 131 | |
| 132 | _gsl_matrix_complex_float_viewcxx . . $ _gsl_matrix_complex_float_view# |
| 133 | gsl_matrix_complex_float_view_array_with_tdacxx . . $ gsl_matrix_complex_float_view_array_with_tda(e4036ab8af68aef5). (float * base, |
| 134 | const size_t n1, |
| 135 | const size_t n2, |
| 136 | const size_t tda); |
| 137 | |
| 138 | _gsl_matrix_complex_float_viewcxx . . $ _gsl_matrix_complex_float_view# |
| 139 | gsl_matrix_complex_float_view_vectorcxx . . $ gsl_matrix_complex_float_view_vector(9b0c0363f548484c). (gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v, |
| 140 | const size_t n1, |
| 141 | const size_t n2); |
| 142 | |
| 143 | _gsl_matrix_complex_float_viewcxx . . $ _gsl_matrix_complex_float_view# |
| 144 | gsl_matrix_complex_float_view_vector_with_tdacxx . . $ gsl_matrix_complex_float_view_vector_with_tda(e8bac21b1b83d4c1). (gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v, |
| 145 | const size_t n1, |
| 146 | const size_t n2, |
| 147 | const size_t tda); |
| 148 | |
| 149 | |
| 150 | _gsl_matrix_complex_float_const_viewcxx . . $ _gsl_matrix_complex_float_const_view# |
| 151 | gsl_matrix_complex_float_const_submatrixcxx . . $ gsl_matrix_complex_float_const_submatrix(156364858dc851d7). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 152 | const size_t i, const size_t j, |
| 153 | const size_t n1, const size_t n2); |
| 154 | |
| 155 | _gsl_vector_complex_float_const_viewcxx . . $ _gsl_vector_complex_float_const_view# |
| 156 | gsl_matrix_complex_float_const_rowcxx . . $ gsl_matrix_complex_float_const_row(a68607312d359c3e). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 157 | const size_t i); |
| 158 | |
| 159 | _gsl_vector_complex_float_const_viewcxx . . $ _gsl_vector_complex_float_const_view# |
| 160 | gsl_matrix_complex_float_const_columncxx . . $ gsl_matrix_complex_float_const_column(a68607312d359c3e). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 161 | const size_t j); |
| 162 | |
| 163 | _gsl_vector_complex_float_const_viewcxx . . $ _gsl_vector_complex_float_const_view# |
| 164 | gsl_matrix_complex_float_const_diagonalcxx . . $ gsl_matrix_complex_float_const_diagonal(80a6f8d628d2f78b). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 165 | |
| 166 | _gsl_vector_complex_float_const_viewcxx . . $ _gsl_vector_complex_float_const_view# |
| 167 | gsl_matrix_complex_float_const_subdiagonalcxx . . $ gsl_matrix_complex_float_const_subdiagonal(a68607312d359c3e). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 168 | const size_t k); |
| 169 | |
| 170 | _gsl_vector_complex_float_const_viewcxx . . $ _gsl_vector_complex_float_const_view# |
| 171 | gsl_matrix_complex_float_const_superdiagonalcxx . . $ gsl_matrix_complex_float_const_superdiagonal(a68607312d359c3e). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 172 | const size_t k); |
| 173 | |
| 174 | _gsl_vector_complex_float_const_viewcxx . . $ _gsl_vector_complex_float_const_view# |
| 175 | gsl_matrix_complex_float_const_subrowcxx . . $ gsl_matrix_complex_float_const_subrow(2537aa7caac3342d). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 176 | const size_t i, const size_t offset, |
| 177 | const size_t n); |
| 178 | |
| 179 | _gsl_vector_complex_float_const_viewcxx . . $ _gsl_vector_complex_float_const_view# |
| 180 | gsl_matrix_complex_float_const_subcolumncxx . . $ gsl_matrix_complex_float_const_subcolumn(2537aa7caac3342d). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, |
| 181 | const size_t j, const size_t offset, |
| 182 | const size_t n); |
| 183 | |
| 184 | _gsl_matrix_complex_float_const_viewcxx . . $ _gsl_matrix_complex_float_const_view# |
| 185 | gsl_matrix_complex_float_const_view_arraycxx . . $ gsl_matrix_complex_float_const_view_array(f8e3dc5f9e7fe5bf). (const float * base, |
| 186 | const size_t n1, |
| 187 | const size_t n2); |
| 188 | |
| 189 | _gsl_matrix_complex_float_const_viewcxx . . $ _gsl_matrix_complex_float_const_view# |
| 190 | gsl_matrix_complex_float_const_view_array_with_tdacxx . . $ gsl_matrix_complex_float_const_view_array_with_tda(1746790adcc707ab). (const float * base, |
| 191 | const size_t n1, |
| 192 | const size_t n2, |
| 193 | const size_t tda); |
| 194 | |
| 195 | _gsl_matrix_complex_float_const_viewcxx . . $ _gsl_matrix_complex_float_const_view# |
| 196 | gsl_matrix_complex_float_const_view_vectorcxx . . $ gsl_matrix_complex_float_const_view_vector(30c4686b525eae1f). (const gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v, |
| 197 | const size_t n1, |
| 198 | const size_t n2); |
| 199 | |
| 200 | _gsl_matrix_complex_float_const_viewcxx . . $ _gsl_matrix_complex_float_const_view# |
| 201 | gsl_matrix_complex_float_const_view_vector_with_tdacxx . . $ gsl_matrix_complex_float_const_view_vector_with_tda(795f5c18e199c9a3). (const gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v, |
| 202 | const size_t n1, |
| 203 | const size_t n2, |
| 204 | const size_t tda); |
| 205 | |
| 206 | /* Operations */ |
| 207 | |
| 208 | gsl_complex_floatcxx . . $ gsl_complex_float# gsl_matrix_complex_float_getcxx . . $ gsl_matrix_complex_float_get(a436d568ef5308ab).(const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const size_t j); |
| 209 | void gsl_matrix_complex_float_setcxx . . $ gsl_matrix_complex_float_set(6cda452a6c5ec2bf).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const size_t j, const gsl_complex_floatcxx . . $ gsl_complex_float# x); |
| 210 | |
| 211 | gsl_complex_floatcxx . . $ gsl_complex_float# * gsl_matrix_complex_float_ptrcxx . . $ gsl_matrix_complex_float_ptr(ef1be38378b4a0f0).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const size_t j); |
| 212 | const gsl_complex_floatcxx . . $ gsl_complex_float# * gsl_matrix_complex_float_const_ptrcxx . . $ gsl_matrix_complex_float_const_ptr(105e0debd098a519).(const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const size_t j); |
| 213 | |
| 214 | void gsl_matrix_complex_float_set_zerocxx . . $ gsl_matrix_complex_float_set_zero(54d4d50d6977c388). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 215 | void gsl_matrix_complex_float_set_identitycxx . . $ gsl_matrix_complex_float_set_identity(54d4d50d6977c388). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 216 | void gsl_matrix_complex_float_set_allcxx . . $ gsl_matrix_complex_float_set_all(815226632df6354d). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, gsl_complex_floatcxx . . $ gsl_complex_float# x); |
| 217 | |
| 218 | int gsl_matrix_complex_float_freadcxx . . $ gsl_matrix_complex_float_fread(84129d4f0a35d1d). (FILEcxx . . $ FILE# * stream, gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m) ; |
| 219 | int gsl_matrix_complex_float_fwritecxx . . $ gsl_matrix_complex_float_fwrite(b7e26c973e8883c8). (FILEcxx . . $ FILE# * stream, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m) ; |
| 220 | int gsl_matrix_complex_float_fscanfcxx . . $ gsl_matrix_complex_float_fscanf(84129d4f0a35d1d). (FILEcxx . . $ FILE# * stream, gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 221 | int gsl_matrix_complex_float_fprintfcxx . . $ gsl_matrix_complex_float_fprintf(6b0f40f265ce51e5). (FILEcxx . . $ FILE# * stream, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const char * format); |
| 222 | |
| 223 | int gsl_matrix_complex_float_memcpycxx . . $ gsl_matrix_complex_float_memcpy(862373a705ecdcca).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * dest, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * src); |
| 224 | int gsl_matrix_complex_float_swapcxx . . $ gsl_matrix_complex_float_swap(77af93970b322408).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m1, gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m2); |
| 225 | |
| 226 | int gsl_matrix_complex_float_swap_rowscxx . . $ gsl_matrix_complex_float_swap_rows(fd251a6050398240).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const size_t j); |
| 227 | int gsl_matrix_complex_float_swap_columnscxx . . $ gsl_matrix_complex_float_swap_columns(fd251a6050398240).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const size_t j); |
| 228 | int gsl_matrix_complex_float_swap_rowcolcxx . . $ gsl_matrix_complex_float_swap_rowcol(fd251a6050398240).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const size_t j); |
| 229 | |
| 230 | int gsl_matrix_complex_float_transposecxx . . $ gsl_matrix_complex_float_transpose(9823a9fb26e31c6e). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 231 | int gsl_matrix_complex_float_transpose_memcpycxx . . $ gsl_matrix_complex_float_transpose_memcpy(862373a705ecdcca). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * dest, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * src); |
| 232 | |
| 233 | int gsl_matrix_complex_float_isnullcxx . . $ gsl_matrix_complex_float_isnull(c785a0d64902ee). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 234 | int gsl_matrix_complex_float_isposcxx . . $ gsl_matrix_complex_float_ispos(c785a0d64902ee). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 235 | int gsl_matrix_complex_float_isnegcxx . . $ gsl_matrix_complex_float_isneg(c785a0d64902ee). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 236 | int gsl_matrix_complex_float_isnonnegcxx . . $ gsl_matrix_complex_float_isnonneg(c785a0d64902ee). (const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m); |
| 237 | |
| 238 | int gsl_matrix_complex_float_addcxx . . $ gsl_matrix_complex_float_add(862373a705ecdcca). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * a, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * b); |
| 239 | int gsl_matrix_complex_float_subcxx . . $ gsl_matrix_complex_float_sub(862373a705ecdcca). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * a, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * b); |
| 240 | int gsl_matrix_complex_float_mul_elementscxx . . $ gsl_matrix_complex_float_mul_elements(862373a705ecdcca). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * a, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * b); |
| 241 | int gsl_matrix_complex_float_div_elementscxx . . $ gsl_matrix_complex_float_div_elements(862373a705ecdcca). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * a, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * b); |
| 242 | int gsl_matrix_complex_float_scalecxx . . $ gsl_matrix_complex_float_scale(bdfdcc9b4681d2d0). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * a, const gsl_complex_floatcxx . . $ gsl_complex_float# x); |
| 243 | int gsl_matrix_complex_float_add_constantcxx . . $ gsl_matrix_complex_float_add_constant(bdfdcc9b4681d2d0). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * a, const gsl_complex_floatcxx . . $ gsl_complex_float# x); |
| 244 | int gsl_matrix_complex_float_add_diagonalcxx . . $ gsl_matrix_complex_float_add_diagonal(bdfdcc9b4681d2d0). (gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * a, const gsl_complex_floatcxx . . $ gsl_complex_float# x); |
| 245 | |
| 246 | /***********************************************************************/ |
| 247 | /* The functions below are obsolete */ |
| 248 | /***********************************************************************/ |
| 249 | int gsl_matrix_complex_float_get_rowcxx . . $ gsl_matrix_complex_float_get_row(41d3b33a0880f22).(gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i); |
| 250 | int gsl_matrix_complex_float_get_colcxx . . $ gsl_matrix_complex_float_get_col(41d3b33a0880f22).(gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v, const gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t j); |
| 251 | int gsl_matrix_complex_float_set_rowcxx . . $ gsl_matrix_complex_float_set_row(1eec953e764ce51).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t i, const gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v); |
| 252 | int gsl_matrix_complex_float_set_colcxx . . $ gsl_matrix_complex_float_set_col(1eec953e764ce51).(gsl_matrix_complex_floatcxx . . $ gsl_matrix_complex_float# * m, const size_t j, const gsl_vector_complex_floatcxx . . $ gsl_vector_complex_float# * v); |
| 253 | |
| 254 | #ifdef HAVE_INLINE |
| 255 | |
| 256 | extern inline |
| 257 | gsl_complex_float |
| 258 | gsl_matrix_complex_float_get(const gsl_matrix_complex_float * m, |
| 259 | const size_t i, const size_t j) |
| 260 | { |
| 261 | #if GSL_RANGE_CHECK |
| 262 | gsl_complex_float zero = {{0,0}}; |
| 263 | |
| 264 | if (i >= m->size1) |
| 265 | { |
| 266 | GSL_ERROR_VAL("first index out of range", GSL_EINVAL, zero) ; |
| 267 | } |
| 268 | else if (j >= m->size2) |
| 269 | { |
| 270 | GSL_ERROR_VAL("second index out of range", GSL_EINVAL, zero) ; |
| 271 | } |
| 272 | #endif |
| 273 | return *(gsl_complex_float *)(m->data + 2*(i * m->tda + j)) ; |
| 274 | } |
| 275 | |
| 276 | extern inline |
| 277 | void |
| 278 | gsl_matrix_complex_float_set(gsl_matrix_complex_float * m, |
| 279 | const size_t i, const size_t j, const gsl_complex_float x) |
| 280 | { |
| 281 | #if GSL_RANGE_CHECK |
| 282 | if (i >= m->size1) |
| 283 | { |
| 284 | GSL_ERROR_VOID("first index out of range", GSL_EINVAL) ; |
| 285 | } |
| 286 | else if (j >= m->size2) |
| 287 | { |
| 288 | GSL_ERROR_VOID("second index out of range", GSL_EINVAL) ; |
| 289 | } |
| 290 | #endif |
| 291 | *(gsl_complex_float *)(m->data + 2*(i * m->tda + j)) = x ; |
| 292 | } |
| 293 | |
| 294 | extern inline |
| 295 | gsl_complex_float * |
| 296 | gsl_matrix_complex_float_ptr(gsl_matrix_complex_float * m, |
| 297 | const size_t i, const size_t j) |
| 298 | { |
| 299 | #if GSL_RANGE_CHECK |
| 300 | if (i >= m->size1) |
| 301 | { |
| 302 | GSL_ERROR_NULL("first index out of range", GSL_EINVAL) ; |
| 303 | } |
| 304 | else if (j >= m->size2) |
| 305 | { |
| 306 | GSL_ERROR_NULL("second index out of range", GSL_EINVAL) ; |
| 307 | } |
| 308 | #endif |
| 309 | return (gsl_complex_float *)(m->data + 2*(i * m->tda + j)) ; |
| 310 | } |
| 311 | |
| 312 | extern inline |
| 313 | const gsl_complex_float * |
| 314 | gsl_matrix_complex_float_const_ptr(const gsl_matrix_complex_float * m, |
| 315 | const size_t i, const size_t j) |
| 316 | { |
| 317 | #if GSL_RANGE_CHECK |
| 318 | if (i >= m->size1) |
| 319 | { |
| 320 | GSL_ERROR_NULL("first index out of range", GSL_EINVAL) ; |
| 321 | } |
| 322 | else if (j >= m->size2) |
| 323 | { |
| 324 | GSL_ERROR_NULL("second index out of range", GSL_EINVAL) ; |
| 325 | } |
| 326 | #endif |
| 327 | return (const gsl_complex_float *)(m->data + 2*(i * m->tda + j)) ; |
| 328 | } |
| 329 | |
| 330 | #endif /* HAVE_INLINE */ |
| 331 | |
| 332 | __END_DECLScxx . . $ `external/gsl/gsl_matrix_complex_float.h:37:10`! |
| 333 | |
| 334 | #endif /* __GSL_MATRIX_COMPLEX_FLOAT_H__ */ |