| 1 | # This file was automatically generated by SWIG (https://www.swig.org). | ||
| 2 | # Version 4.2.0 | ||
| 3 | # | ||
| 4 | # Do not make changes to this file unless you know what you are doing - modify | ||
| 5 | # the SWIG interface file instead. | ||
| 6 | |||
| 7 | package Math::GSL::Integration; | ||
| 8 | use base qw(Exporter); | ||
| 9 | use base qw(DynaLoader); | ||
| 10 | package Math::GSL::Integrationc; | ||
| 11 | bootstrap Math::GSL::Integration; | ||
| 12 | package Math::GSL::Integration; | ||
| 13 | @EXPORT = qw(); | ||
| 14 | |||
| 15 | # ---------- BASE METHODS ------------- | ||
| 16 | |||
| 17 | package Math::GSL::Integration; | ||
| 18 | |||
| 19 | sub TIEHASH { | ||
| 20 | my ($classname,$obj) = @_; | ||
| 21 | return bless $obj, $classname; | ||
| 22 | } | ||
| 23 | |||
| 24 | sub CLEAR { } | ||
| 25 | |||
| 26 | sub FIRSTKEY { } | ||
| 27 | |||
| 28 | sub NEXTKEY { } | ||
| 29 | |||
| 30 | sub FETCH { | ||
| 31 | my ($self,$field) = @_; | ||
| 32 | my $member_func = "swig_${field}_get"; | ||
| 33 | $self->$member_func(); | ||
| 34 | } | ||
| 35 | |||
| 36 | sub STORE { | ||
| 37 | my ($self,$field,$newval) = @_; | ||
| 38 | my $member_func = "swig_${field}_set"; | ||
| 39 | $self->$member_func($newval); | ||
| 40 | } | ||
| 41 | |||
| 42 | sub this { | ||
| 43 | my $ptr = shift; | ||
| 44 | return tied(%$ptr); | ||
| 45 | } | ||
| 46 | |||
| 47 | |||
| 48 | # ------- FUNCTION WRAPPERS -------- | ||
| 49 | |||
| 50 | package Math::GSL::Integration; | ||
| 51 | |||
| 52 | *gsl_error = *Math::GSL::Integrationc::gsl_error; | ||
| 53 | *gsl_stream_printf = *Math::GSL::Integrationc::gsl_stream_printf; | ||
| 54 | *gsl_strerror = *Math::GSL::Integrationc::gsl_strerror; | ||
| 55 | *gsl_set_error_handler = *Math::GSL::Integrationc::gsl_set_error_handler; | ||
| 56 | *gsl_set_error_handler_off = *Math::GSL::Integrationc::gsl_set_error_handler_off; | ||
| 57 | *gsl_set_stream_handler = *Math::GSL::Integrationc::gsl_set_stream_handler; | ||
| 58 | *gsl_set_stream = *Math::GSL::Integrationc::gsl_set_stream; | ||
| 59 | *gsl_integration_workspace_alloc = *Math::GSL::Integrationc::gsl_integration_workspace_alloc; | ||
| 60 | *gsl_integration_workspace_free = *Math::GSL::Integrationc::gsl_integration_workspace_free; | ||
| 61 | *gsl_integration_qaws_table_alloc = *Math::GSL::Integrationc::gsl_integration_qaws_table_alloc; | ||
| 62 | *gsl_integration_qaws_table_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_set; | ||
| 63 | *gsl_integration_qaws_table_free = *Math::GSL::Integrationc::gsl_integration_qaws_table_free; | ||
| 64 | *gsl_integration_qawo_table_alloc = *Math::GSL::Integrationc::gsl_integration_qawo_table_alloc; | ||
| 65 | *gsl_integration_qawo_table_set = *Math::GSL::Integrationc::gsl_integration_qawo_table_set; | ||
| 66 | *gsl_integration_qawo_table_set_length = *Math::GSL::Integrationc::gsl_integration_qawo_table_set_length; | ||
| 67 | *gsl_integration_qawo_table_free = *Math::GSL::Integrationc::gsl_integration_qawo_table_free; | ||
| 68 | *gsl_integration_qk15 = *Math::GSL::Integrationc::gsl_integration_qk15; | ||
| 69 | *gsl_integration_qk21 = *Math::GSL::Integrationc::gsl_integration_qk21; | ||
| 70 | *gsl_integration_qk31 = *Math::GSL::Integrationc::gsl_integration_qk31; | ||
| 71 | *gsl_integration_qk41 = *Math::GSL::Integrationc::gsl_integration_qk41; | ||
| 72 | *gsl_integration_qk51 = *Math::GSL::Integrationc::gsl_integration_qk51; | ||
| 73 | *gsl_integration_qk61 = *Math::GSL::Integrationc::gsl_integration_qk61; | ||
| 74 | *gsl_integration_qcheb = *Math::GSL::Integrationc::gsl_integration_qcheb; | ||
| 75 | *gsl_integration_qk = *Math::GSL::Integrationc::gsl_integration_qk; | ||
| 76 | *gsl_integration_qng = *Math::GSL::Integrationc::gsl_integration_qng; | ||
| 77 | *gsl_integration_qag = *Math::GSL::Integrationc::gsl_integration_qag; | ||
| 78 | *gsl_integration_qagi = *Math::GSL::Integrationc::gsl_integration_qagi; | ||
| 79 | *gsl_integration_qagiu = *Math::GSL::Integrationc::gsl_integration_qagiu; | ||
| 80 | *gsl_integration_qagil = *Math::GSL::Integrationc::gsl_integration_qagil; | ||
| 81 | *gsl_integration_qags = *Math::GSL::Integrationc::gsl_integration_qags; | ||
| 82 | *gsl_integration_qagp = *Math::GSL::Integrationc::gsl_integration_qagp; | ||
| 83 | *gsl_integration_qawc = *Math::GSL::Integrationc::gsl_integration_qawc; | ||
| 84 | *gsl_integration_qaws = *Math::GSL::Integrationc::gsl_integration_qaws; | ||
| 85 | *gsl_integration_qawo = *Math::GSL::Integrationc::gsl_integration_qawo; | ||
| 86 | *gsl_integration_qawf = *Math::GSL::Integrationc::gsl_integration_qawf; | ||
| 87 | *gsl_integration_glfixed_table_alloc = *Math::GSL::Integrationc::gsl_integration_glfixed_table_alloc; | ||
| 88 | *gsl_integration_glfixed_table_free = *Math::GSL::Integrationc::gsl_integration_glfixed_table_free; | ||
| 89 | *gsl_integration_glfixed = *Math::GSL::Integrationc::gsl_integration_glfixed; | ||
| 90 | *gsl_integration_glfixed_point = *Math::GSL::Integrationc::gsl_integration_glfixed_point; | ||
| 91 | *gsl_integration_cquad_workspace_alloc = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_alloc; | ||
| 92 | *gsl_integration_cquad_workspace_free = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_free; | ||
| 93 | *gsl_integration_cquad = *Math::GSL::Integrationc::gsl_integration_cquad; | ||
| 94 | *gsl_integration_romberg_alloc = *Math::GSL::Integrationc::gsl_integration_romberg_alloc; | ||
| 95 | *gsl_integration_romberg_free = *Math::GSL::Integrationc::gsl_integration_romberg_free; | ||
| 96 | *gsl_integration_romberg = *Math::GSL::Integrationc::gsl_integration_romberg; | ||
| 97 | *gsl_integration_fixed_alloc = *Math::GSL::Integrationc::gsl_integration_fixed_alloc; | ||
| 98 | *gsl_integration_fixed_free = *Math::GSL::Integrationc::gsl_integration_fixed_free; | ||
| 99 | *gsl_integration_fixed_n = *Math::GSL::Integrationc::gsl_integration_fixed_n; | ||
| 100 | *gsl_integration_fixed_nodes = *Math::GSL::Integrationc::gsl_integration_fixed_nodes; | ||
| 101 | *gsl_integration_fixed_weights = *Math::GSL::Integrationc::gsl_integration_fixed_weights; | ||
| 102 | *gsl_integration_fixed = *Math::GSL::Integrationc::gsl_integration_fixed; | ||
| 103 | *gsl_integration_lebedev_alloc = *Math::GSL::Integrationc::gsl_integration_lebedev_alloc; | ||
| 104 | *gsl_integration_lebedev_free = *Math::GSL::Integrationc::gsl_integration_lebedev_free; | ||
| 105 | *gsl_integration_lebedev_n = *Math::GSL::Integrationc::gsl_integration_lebedev_n; | ||
| 106 | |||
| 107 | ############# Class : Math::GSL::Integration::gsl_integration_workspace ############## | ||
| 108 | |||
| 109 | package Math::GSL::Integration::gsl_integration_workspace; | ||
| 110 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 111 | @ISA = qw( Math::GSL::Integration ); | ||
| 112 | %OWNER = (); | ||
| 113 | %ITERATORS = (); | ||
| 114 | *swig_limit_get = *Math::GSL::Integrationc::gsl_integration_workspace_limit_get; | ||
| 115 | *swig_limit_set = *Math::GSL::Integrationc::gsl_integration_workspace_limit_set; | ||
| 116 | *swig_size_get = *Math::GSL::Integrationc::gsl_integration_workspace_size_get; | ||
| 117 | *swig_size_set = *Math::GSL::Integrationc::gsl_integration_workspace_size_set; | ||
| 118 | *swig_nrmax_get = *Math::GSL::Integrationc::gsl_integration_workspace_nrmax_get; | ||
| 119 | *swig_nrmax_set = *Math::GSL::Integrationc::gsl_integration_workspace_nrmax_set; | ||
| 120 | *swig_i_get = *Math::GSL::Integrationc::gsl_integration_workspace_i_get; | ||
| 121 | *swig_i_set = *Math::GSL::Integrationc::gsl_integration_workspace_i_set; | ||
| 122 | *swig_maximum_level_get = *Math::GSL::Integrationc::gsl_integration_workspace_maximum_level_get; | ||
| 123 | *swig_maximum_level_set = *Math::GSL::Integrationc::gsl_integration_workspace_maximum_level_set; | ||
| 124 | *swig_alist_get = *Math::GSL::Integrationc::gsl_integration_workspace_alist_get; | ||
| 125 | *swig_alist_set = *Math::GSL::Integrationc::gsl_integration_workspace_alist_set; | ||
| 126 | *swig_blist_get = *Math::GSL::Integrationc::gsl_integration_workspace_blist_get; | ||
| 127 | *swig_blist_set = *Math::GSL::Integrationc::gsl_integration_workspace_blist_set; | ||
| 128 | *swig_rlist_get = *Math::GSL::Integrationc::gsl_integration_workspace_rlist_get; | ||
| 129 | *swig_rlist_set = *Math::GSL::Integrationc::gsl_integration_workspace_rlist_set; | ||
| 130 | *swig_elist_get = *Math::GSL::Integrationc::gsl_integration_workspace_elist_get; | ||
| 131 | *swig_elist_set = *Math::GSL::Integrationc::gsl_integration_workspace_elist_set; | ||
| 132 | *swig_order_get = *Math::GSL::Integrationc::gsl_integration_workspace_order_get; | ||
| 133 | *swig_order_set = *Math::GSL::Integrationc::gsl_integration_workspace_order_set; | ||
| 134 | *swig_level_get = *Math::GSL::Integrationc::gsl_integration_workspace_level_get; | ||
| 135 | *swig_level_set = *Math::GSL::Integrationc::gsl_integration_workspace_level_set; | ||
| 136 | sub new { | ||
| 137 | my $pkg = shift; | ||
| 138 | my $self = Math::GSL::Integrationc::new_gsl_integration_workspace(@_); | ||
| 139 | bless $self, $pkg if defined($self); | ||
| 140 | } | ||
| 141 | |||
| 142 | sub DESTROY { | ||
| 143 | return unless $_[0]->isa('HASH'); | ||
| 144 | my $self = tied(%{$_[0]}); | ||
| 145 | return unless defined $self; | ||
| 146 | delete $ITERATORS{$self}; | ||
| 147 | if (exists $OWNER{$self}) { | ||
| 148 | Math::GSL::Integrationc::delete_gsl_integration_workspace($self); | ||
| 149 | delete $OWNER{$self}; | ||
| 150 | } | ||
| 151 | } | ||
| 152 | |||
| 153 | sub DISOWN { | ||
| 154 | my $self = shift; | ||
| 155 | my $ptr = tied(%$self); | ||
| 156 | delete $OWNER{$ptr}; | ||
| 157 | } | ||
| 158 | |||
| 159 | sub ACQUIRE { | ||
| 160 | my $self = shift; | ||
| 161 | my $ptr = tied(%$self); | ||
| 162 | $OWNER{$ptr} = 1; | ||
| 163 | } | ||
| 164 | |||
| 165 | |||
| 166 | ############# Class : Math::GSL::Integration::gsl_integration_qaws_table ############## | ||
| 167 | |||
| 168 | package Math::GSL::Integration::gsl_integration_qaws_table; | ||
| 169 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 170 | @ISA = qw( Math::GSL::Integration ); | ||
| 171 | %OWNER = (); | ||
| 172 | %ITERATORS = (); | ||
| 173 | *swig_alpha_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_alpha_get; | ||
| 174 | *swig_alpha_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_alpha_set; | ||
| 175 | *swig_beta_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_beta_get; | ||
| 176 | *swig_beta_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_beta_set; | ||
| 177 | *swig_mu_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_mu_get; | ||
| 178 | *swig_mu_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_mu_set; | ||
| 179 | *swig_nu_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_nu_get; | ||
| 180 | *swig_nu_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_nu_set; | ||
| 181 | *swig_ri_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_ri_get; | ||
| 182 | *swig_ri_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_ri_set; | ||
| 183 | *swig_rj_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_rj_get; | ||
| 184 | *swig_rj_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_rj_set; | ||
| 185 | *swig_rg_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_rg_get; | ||
| 186 | *swig_rg_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_rg_set; | ||
| 187 | *swig_rh_get = *Math::GSL::Integrationc::gsl_integration_qaws_table_rh_get; | ||
| 188 | *swig_rh_set = *Math::GSL::Integrationc::gsl_integration_qaws_table_rh_set; | ||
| 189 | sub new { | ||
| 190 | my $pkg = shift; | ||
| 191 | my $self = Math::GSL::Integrationc::new_gsl_integration_qaws_table(@_); | ||
| 192 | bless $self, $pkg if defined($self); | ||
| 193 | } | ||
| 194 | |||
| 195 | sub DESTROY { | ||
| 196 | return unless $_[0]->isa('HASH'); | ||
| 197 | my $self = tied(%{$_[0]}); | ||
| 198 | return unless defined $self; | ||
| 199 | delete $ITERATORS{$self}; | ||
| 200 | if (exists $OWNER{$self}) { | ||
| 201 | Math::GSL::Integrationc::delete_gsl_integration_qaws_table($self); | ||
| 202 | delete $OWNER{$self}; | ||
| 203 | } | ||
| 204 | } | ||
| 205 | |||
| 206 | sub DISOWN { | ||
| 207 | my $self = shift; | ||
| 208 | my $ptr = tied(%$self); | ||
| 209 | delete $OWNER{$ptr}; | ||
| 210 | } | ||
| 211 | |||
| 212 | sub ACQUIRE { | ||
| 213 | my $self = shift; | ||
| 214 | my $ptr = tied(%$self); | ||
| 215 | $OWNER{$ptr} = 1; | ||
| 216 | } | ||
| 217 | |||
| 218 | |||
| 219 | ############# Class : Math::GSL::Integration::gsl_integration_qawo_table ############## | ||
| 220 | |||
| 221 | package Math::GSL::Integration::gsl_integration_qawo_table; | ||
| 222 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 223 | @ISA = qw( Math::GSL::Integration ); | ||
| 224 | %OWNER = (); | ||
| 225 | %ITERATORS = (); | ||
| 226 | *swig_n_get = *Math::GSL::Integrationc::gsl_integration_qawo_table_n_get; | ||
| 227 | *swig_n_set = *Math::GSL::Integrationc::gsl_integration_qawo_table_n_set; | ||
| 228 | *swig_omega_get = *Math::GSL::Integrationc::gsl_integration_qawo_table_omega_get; | ||
| 229 | *swig_omega_set = *Math::GSL::Integrationc::gsl_integration_qawo_table_omega_set; | ||
| 230 | *swig_L_get = *Math::GSL::Integrationc::gsl_integration_qawo_table_L_get; | ||
| 231 | *swig_L_set = *Math::GSL::Integrationc::gsl_integration_qawo_table_L_set; | ||
| 232 | *swig_par_get = *Math::GSL::Integrationc::gsl_integration_qawo_table_par_get; | ||
| 233 | *swig_par_set = *Math::GSL::Integrationc::gsl_integration_qawo_table_par_set; | ||
| 234 | *swig_sine_get = *Math::GSL::Integrationc::gsl_integration_qawo_table_sine_get; | ||
| 235 | *swig_sine_set = *Math::GSL::Integrationc::gsl_integration_qawo_table_sine_set; | ||
| 236 | *swig_chebmo_get = *Math::GSL::Integrationc::gsl_integration_qawo_table_chebmo_get; | ||
| 237 | *swig_chebmo_set = *Math::GSL::Integrationc::gsl_integration_qawo_table_chebmo_set; | ||
| 238 | sub new { | ||
| 239 | my $pkg = shift; | ||
| 240 | my $self = Math::GSL::Integrationc::new_gsl_integration_qawo_table(@_); | ||
| 241 | bless $self, $pkg if defined($self); | ||
| 242 | } | ||
| 243 | |||
| 244 | sub DESTROY { | ||
| 245 | return unless $_[0]->isa('HASH'); | ||
| 246 | my $self = tied(%{$_[0]}); | ||
| 247 | return unless defined $self; | ||
| 248 | delete $ITERATORS{$self}; | ||
| 249 | if (exists $OWNER{$self}) { | ||
| 250 | Math::GSL::Integrationc::delete_gsl_integration_qawo_table($self); | ||
| 251 | delete $OWNER{$self}; | ||
| 252 | } | ||
| 253 | } | ||
| 254 | |||
| 255 | sub DISOWN { | ||
| 256 | my $self = shift; | ||
| 257 | my $ptr = tied(%$self); | ||
| 258 | delete $OWNER{$ptr}; | ||
| 259 | } | ||
| 260 | |||
| 261 | sub ACQUIRE { | ||
| 262 | my $self = shift; | ||
| 263 | my $ptr = tied(%$self); | ||
| 264 | $OWNER{$ptr} = 1; | ||
| 265 | } | ||
| 266 | |||
| 267 | |||
| 268 | ############# Class : Math::GSL::Integration::gsl_integration_glfixed_table ############## | ||
| 269 | |||
| 270 | package Math::GSL::Integration::gsl_integration_glfixed_table; | ||
| 271 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 272 | @ISA = qw( Math::GSL::Integration ); | ||
| 273 | %OWNER = (); | ||
| 274 | %ITERATORS = (); | ||
| 275 | *swig_n_get = *Math::GSL::Integrationc::gsl_integration_glfixed_table_n_get; | ||
| 276 | *swig_n_set = *Math::GSL::Integrationc::gsl_integration_glfixed_table_n_set; | ||
| 277 | *swig_x_get = *Math::GSL::Integrationc::gsl_integration_glfixed_table_x_get; | ||
| 278 | *swig_x_set = *Math::GSL::Integrationc::gsl_integration_glfixed_table_x_set; | ||
| 279 | *swig_w_get = *Math::GSL::Integrationc::gsl_integration_glfixed_table_w_get; | ||
| 280 | *swig_w_set = *Math::GSL::Integrationc::gsl_integration_glfixed_table_w_set; | ||
| 281 | *swig_precomputed_get = *Math::GSL::Integrationc::gsl_integration_glfixed_table_precomputed_get; | ||
| 282 | *swig_precomputed_set = *Math::GSL::Integrationc::gsl_integration_glfixed_table_precomputed_set; | ||
| 283 | sub new { | ||
| 284 | my $pkg = shift; | ||
| 285 | my $self = Math::GSL::Integrationc::new_gsl_integration_glfixed_table(@_); | ||
| 286 | bless $self, $pkg if defined($self); | ||
| 287 | } | ||
| 288 | |||
| 289 | sub DESTROY { | ||
| 290 | return unless $_[0]->isa('HASH'); | ||
| 291 | my $self = tied(%{$_[0]}); | ||
| 292 | return unless defined $self; | ||
| 293 | delete $ITERATORS{$self}; | ||
| 294 | if (exists $OWNER{$self}) { | ||
| 295 | Math::GSL::Integrationc::delete_gsl_integration_glfixed_table($self); | ||
| 296 | delete $OWNER{$self}; | ||
| 297 | } | ||
| 298 | } | ||
| 299 | |||
| 300 | sub DISOWN { | ||
| 301 | my $self = shift; | ||
| 302 | my $ptr = tied(%$self); | ||
| 303 | delete $OWNER{$ptr}; | ||
| 304 | } | ||
| 305 | |||
| 306 | sub ACQUIRE { | ||
| 307 | my $self = shift; | ||
| 308 | my $ptr = tied(%$self); | ||
| 309 | $OWNER{$ptr} = 1; | ||
| 310 | } | ||
| 311 | |||
| 312 | |||
| 313 | ############# Class : Math::GSL::Integration::gsl_integration_cquad_ival ############## | ||
| 314 | |||
| 315 | package Math::GSL::Integration::gsl_integration_cquad_ival; | ||
| 316 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 317 | @ISA = qw( Math::GSL::Integration ); | ||
| 318 | %OWNER = (); | ||
| 319 | %ITERATORS = (); | ||
| 320 | *swig_a_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_a_get; | ||
| 321 | *swig_a_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_a_set; | ||
| 322 | *swig_b_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_b_get; | ||
| 323 | *swig_b_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_b_set; | ||
| 324 | *swig_c_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_c_get; | ||
| 325 | *swig_c_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_c_set; | ||
| 326 | *swig_fx_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_fx_get; | ||
| 327 | *swig_fx_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_fx_set; | ||
| 328 | *swig_igral_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_igral_get; | ||
| 329 | *swig_igral_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_igral_set; | ||
| 330 | *swig_err_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_err_get; | ||
| 331 | *swig_err_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_err_set; | ||
| 332 | *swig_depth_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_depth_get; | ||
| 333 | *swig_depth_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_depth_set; | ||
| 334 | *swig_rdepth_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_rdepth_get; | ||
| 335 | *swig_rdepth_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_rdepth_set; | ||
| 336 | *swig_ndiv_get = *Math::GSL::Integrationc::gsl_integration_cquad_ival_ndiv_get; | ||
| 337 | *swig_ndiv_set = *Math::GSL::Integrationc::gsl_integration_cquad_ival_ndiv_set; | ||
| 338 | sub new { | ||
| 339 | my $pkg = shift; | ||
| 340 | my $self = Math::GSL::Integrationc::new_gsl_integration_cquad_ival(@_); | ||
| 341 | bless $self, $pkg if defined($self); | ||
| 342 | } | ||
| 343 | |||
| 344 | sub DESTROY { | ||
| 345 | return unless $_[0]->isa('HASH'); | ||
| 346 | my $self = tied(%{$_[0]}); | ||
| 347 | return unless defined $self; | ||
| 348 | delete $ITERATORS{$self}; | ||
| 349 | if (exists $OWNER{$self}) { | ||
| 350 | Math::GSL::Integrationc::delete_gsl_integration_cquad_ival($self); | ||
| 351 | delete $OWNER{$self}; | ||
| 352 | } | ||
| 353 | } | ||
| 354 | |||
| 355 | sub DISOWN { | ||
| 356 | my $self = shift; | ||
| 357 | my $ptr = tied(%$self); | ||
| 358 | delete $OWNER{$ptr}; | ||
| 359 | } | ||
| 360 | |||
| 361 | sub ACQUIRE { | ||
| 362 | my $self = shift; | ||
| 363 | my $ptr = tied(%$self); | ||
| 364 | $OWNER{$ptr} = 1; | ||
| 365 | } | ||
| 366 | |||
| 367 | |||
| 368 | ############# Class : Math::GSL::Integration::gsl_integration_cquad_workspace ############## | ||
| 369 | |||
| 370 | package Math::GSL::Integration::gsl_integration_cquad_workspace; | ||
| 371 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 372 | @ISA = qw( Math::GSL::Integration ); | ||
| 373 | %OWNER = (); | ||
| 374 | %ITERATORS = (); | ||
| 375 | *swig_size_get = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_size_get; | ||
| 376 | *swig_size_set = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_size_set; | ||
| 377 | *swig_ivals_get = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_ivals_get; | ||
| 378 | *swig_ivals_set = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_ivals_set; | ||
| 379 | *swig_heap_get = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_heap_get; | ||
| 380 | *swig_heap_set = *Math::GSL::Integrationc::gsl_integration_cquad_workspace_heap_set; | ||
| 381 | sub new { | ||
| 382 | my $pkg = shift; | ||
| 383 | my $self = Math::GSL::Integrationc::new_gsl_integration_cquad_workspace(@_); | ||
| 384 | bless $self, $pkg if defined($self); | ||
| 385 | } | ||
| 386 | |||
| 387 | sub DESTROY { | ||
| 388 | return unless $_[0]->isa('HASH'); | ||
| 389 | my $self = tied(%{$_[0]}); | ||
| 390 | return unless defined $self; | ||
| 391 | delete $ITERATORS{$self}; | ||
| 392 | if (exists $OWNER{$self}) { | ||
| 393 | Math::GSL::Integrationc::delete_gsl_integration_cquad_workspace($self); | ||
| 394 | delete $OWNER{$self}; | ||
| 395 | } | ||
| 396 | } | ||
| 397 | |||
| 398 | sub DISOWN { | ||
| 399 | my $self = shift; | ||
| 400 | my $ptr = tied(%$self); | ||
| 401 | delete $OWNER{$ptr}; | ||
| 402 | } | ||
| 403 | |||
| 404 | sub ACQUIRE { | ||
| 405 | my $self = shift; | ||
| 406 | my $ptr = tied(%$self); | ||
| 407 | $OWNER{$ptr} = 1; | ||
| 408 | } | ||
| 409 | |||
| 410 | |||
| 411 | ############# Class : Math::GSL::Integration::gsl_integration_romberg_workspace ############## | ||
| 412 | |||
| 413 | package Math::GSL::Integration::gsl_integration_romberg_workspace; | ||
| 414 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 415 | @ISA = qw( Math::GSL::Integration ); | ||
| 416 | %OWNER = (); | ||
| 417 | %ITERATORS = (); | ||
| 418 | *swig_n_get = *Math::GSL::Integrationc::gsl_integration_romberg_workspace_n_get; | ||
| 419 | *swig_n_set = *Math::GSL::Integrationc::gsl_integration_romberg_workspace_n_set; | ||
| 420 | *swig_work1_get = *Math::GSL::Integrationc::gsl_integration_romberg_workspace_work1_get; | ||
| 421 | *swig_work1_set = *Math::GSL::Integrationc::gsl_integration_romberg_workspace_work1_set; | ||
| 422 | *swig_work2_get = *Math::GSL::Integrationc::gsl_integration_romberg_workspace_work2_get; | ||
| 423 | *swig_work2_set = *Math::GSL::Integrationc::gsl_integration_romberg_workspace_work2_set; | ||
| 424 | sub new { | ||
| 425 | my $pkg = shift; | ||
| 426 | my $self = Math::GSL::Integrationc::new_gsl_integration_romberg_workspace(@_); | ||
| 427 | bless $self, $pkg if defined($self); | ||
| 428 | } | ||
| 429 | |||
| 430 | sub DESTROY { | ||
| 431 | return unless $_[0]->isa('HASH'); | ||
| 432 | my $self = tied(%{$_[0]}); | ||
| 433 | return unless defined $self; | ||
| 434 | delete $ITERATORS{$self}; | ||
| 435 | if (exists $OWNER{$self}) { | ||
| 436 | Math::GSL::Integrationc::delete_gsl_integration_romberg_workspace($self); | ||
| 437 | delete $OWNER{$self}; | ||
| 438 | } | ||
| 439 | } | ||
| 440 | |||
| 441 | sub DISOWN { | ||
| 442 | my $self = shift; | ||
| 443 | my $ptr = tied(%$self); | ||
| 444 | delete $OWNER{$ptr}; | ||
| 445 | } | ||
| 446 | |||
| 447 | sub ACQUIRE { | ||
| 448 | my $self = shift; | ||
| 449 | my $ptr = tied(%$self); | ||
| 450 | $OWNER{$ptr} = 1; | ||
| 451 | } | ||
| 452 | |||
| 453 | |||
| 454 | ############# Class : Math::GSL::Integration::gsl_integration_fixed_params ############## | ||
| 455 | |||
| 456 | package Math::GSL::Integration::gsl_integration_fixed_params; | ||
| 457 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 458 | @ISA = qw( Math::GSL::Integration ); | ||
| 459 | %OWNER = (); | ||
| 460 | %ITERATORS = (); | ||
| 461 | *swig_alpha_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_alpha_get; | ||
| 462 | *swig_alpha_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_alpha_set; | ||
| 463 | *swig_beta_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_beta_get; | ||
| 464 | *swig_beta_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_beta_set; | ||
| 465 | *swig_a_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_a_get; | ||
| 466 | *swig_a_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_a_set; | ||
| 467 | *swig_b_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_b_get; | ||
| 468 | *swig_b_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_b_set; | ||
| 469 | *swig_zemu_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_zemu_get; | ||
| 470 | *swig_zemu_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_zemu_set; | ||
| 471 | *swig_shft_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_shft_get; | ||
| 472 | *swig_shft_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_shft_set; | ||
| 473 | *swig_slp_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_slp_get; | ||
| 474 | *swig_slp_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_slp_set; | ||
| 475 | *swig_al_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_al_get; | ||
| 476 | *swig_al_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_al_set; | ||
| 477 | *swig_be_get = *Math::GSL::Integrationc::gsl_integration_fixed_params_be_get; | ||
| 478 | *swig_be_set = *Math::GSL::Integrationc::gsl_integration_fixed_params_be_set; | ||
| 479 | sub new { | ||
| 480 | my $pkg = shift; | ||
| 481 | my $self = Math::GSL::Integrationc::new_gsl_integration_fixed_params(@_); | ||
| 482 | bless $self, $pkg if defined($self); | ||
| 483 | } | ||
| 484 | |||
| 485 | sub DESTROY { | ||
| 486 | return unless $_[0]->isa('HASH'); | ||
| 487 | my $self = tied(%{$_[0]}); | ||
| 488 | return unless defined $self; | ||
| 489 | delete $ITERATORS{$self}; | ||
| 490 | if (exists $OWNER{$self}) { | ||
| 491 | Math::GSL::Integrationc::delete_gsl_integration_fixed_params($self); | ||
| 492 | delete $OWNER{$self}; | ||
| 493 | } | ||
| 494 | } | ||
| 495 | |||
| 496 | sub DISOWN { | ||
| 497 | my $self = shift; | ||
| 498 | my $ptr = tied(%$self); | ||
| 499 | delete $OWNER{$ptr}; | ||
| 500 | } | ||
| 501 | |||
| 502 | sub ACQUIRE { | ||
| 503 | my $self = shift; | ||
| 504 | my $ptr = tied(%$self); | ||
| 505 | $OWNER{$ptr} = 1; | ||
| 506 | } | ||
| 507 | |||
| 508 | |||
| 509 | ############# Class : Math::GSL::Integration::gsl_integration_fixed_type ############## | ||
| 510 | |||
| 511 | package Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 512 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 513 | @ISA = qw( Math::GSL::Integration ); | ||
| 514 | %OWNER = (); | ||
| 515 | %ITERATORS = (); | ||
| 516 | *swig_check_get = *Math::GSL::Integrationc::gsl_integration_fixed_type_check_get; | ||
| 517 | *swig_check_set = *Math::GSL::Integrationc::gsl_integration_fixed_type_check_set; | ||
| 518 | *swig_init_get = *Math::GSL::Integrationc::gsl_integration_fixed_type_init_get; | ||
| 519 | *swig_init_set = *Math::GSL::Integrationc::gsl_integration_fixed_type_init_set; | ||
| 520 | sub new { | ||
| 521 | my $pkg = shift; | ||
| 522 | my $self = Math::GSL::Integrationc::new_gsl_integration_fixed_type(@_); | ||
| 523 | bless $self, $pkg if defined($self); | ||
| 524 | } | ||
| 525 | |||
| 526 | sub DESTROY { | ||
| 527 | return unless $_[0]->isa('HASH'); | ||
| 528 | my $self = tied(%{$_[0]}); | ||
| 529 | return unless defined $self; | ||
| 530 | delete $ITERATORS{$self}; | ||
| 531 | if (exists $OWNER{$self}) { | ||
| 532 | Math::GSL::Integrationc::delete_gsl_integration_fixed_type($self); | ||
| 533 | delete $OWNER{$self}; | ||
| 534 | } | ||
| 535 | } | ||
| 536 | |||
| 537 | sub DISOWN { | ||
| 538 | my $self = shift; | ||
| 539 | my $ptr = tied(%$self); | ||
| 540 | delete $OWNER{$ptr}; | ||
| 541 | } | ||
| 542 | |||
| 543 | sub ACQUIRE { | ||
| 544 | my $self = shift; | ||
| 545 | my $ptr = tied(%$self); | ||
| 546 | $OWNER{$ptr} = 1; | ||
| 547 | } | ||
| 548 | |||
| 549 | |||
| 550 | ############# Class : Math::GSL::Integration::gsl_integration_fixed_workspace ############## | ||
| 551 | |||
| 552 | package Math::GSL::Integration::gsl_integration_fixed_workspace; | ||
| 553 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 554 | @ISA = qw( Math::GSL::Integration ); | ||
| 555 | %OWNER = (); | ||
| 556 | %ITERATORS = (); | ||
| 557 | *swig_n_get = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_n_get; | ||
| 558 | *swig_n_set = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_n_set; | ||
| 559 | *swig_weights_get = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_weights_get; | ||
| 560 | *swig_weights_set = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_weights_set; | ||
| 561 | *swig_x_get = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_x_get; | ||
| 562 | *swig_x_set = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_x_set; | ||
| 563 | *swig_diag_get = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_diag_get; | ||
| 564 | *swig_diag_set = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_diag_set; | ||
| 565 | *swig_subdiag_get = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_subdiag_get; | ||
| 566 | *swig_subdiag_set = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_subdiag_set; | ||
| 567 | *swig_type_get = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_type_get; | ||
| 568 | *swig_type_set = *Math::GSL::Integrationc::gsl_integration_fixed_workspace_type_set; | ||
| 569 | sub new { | ||
| 570 | my $pkg = shift; | ||
| 571 | my $self = Math::GSL::Integrationc::new_gsl_integration_fixed_workspace(@_); | ||
| 572 | bless $self, $pkg if defined($self); | ||
| 573 | } | ||
| 574 | |||
| 575 | sub DESTROY { | ||
| 576 | return unless $_[0]->isa('HASH'); | ||
| 577 | my $self = tied(%{$_[0]}); | ||
| 578 | return unless defined $self; | ||
| 579 | delete $ITERATORS{$self}; | ||
| 580 | if (exists $OWNER{$self}) { | ||
| 581 | Math::GSL::Integrationc::delete_gsl_integration_fixed_workspace($self); | ||
| 582 | delete $OWNER{$self}; | ||
| 583 | } | ||
| 584 | } | ||
| 585 | |||
| 586 | sub DISOWN { | ||
| 587 | my $self = shift; | ||
| 588 | my $ptr = tied(%$self); | ||
| 589 | delete $OWNER{$ptr}; | ||
| 590 | } | ||
| 591 | |||
| 592 | sub ACQUIRE { | ||
| 593 | my $self = shift; | ||
| 594 | my $ptr = tied(%$self); | ||
| 595 | $OWNER{$ptr} = 1; | ||
| 596 | } | ||
| 597 | |||
| 598 | |||
| 599 | ############# Class : Math::GSL::Integration::gsl_integration_lebedev_workspace ############## | ||
| 600 | |||
| 601 | package Math::GSL::Integration::gsl_integration_lebedev_workspace; | ||
| 602 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 603 | @ISA = qw( Math::GSL::Integration ); | ||
| 604 | %OWNER = (); | ||
| 605 | %ITERATORS = (); | ||
| 606 | *swig_n_get = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_n_get; | ||
| 607 | *swig_n_set = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_n_set; | ||
| 608 | *swig_weights_get = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_weights_get; | ||
| 609 | *swig_weights_set = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_weights_set; | ||
| 610 | *swig_x_get = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_x_get; | ||
| 611 | *swig_x_set = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_x_set; | ||
| 612 | *swig_y_get = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_y_get; | ||
| 613 | *swig_y_set = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_y_set; | ||
| 614 | *swig_z_get = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_z_get; | ||
| 615 | *swig_z_set = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_z_set; | ||
| 616 | *swig_theta_get = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_theta_get; | ||
| 617 | *swig_theta_set = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_theta_set; | ||
| 618 | *swig_phi_get = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_phi_get; | ||
| 619 | *swig_phi_set = *Math::GSL::Integrationc::gsl_integration_lebedev_workspace_phi_set; | ||
| 620 | sub new { | ||
| 621 | my $pkg = shift; | ||
| 622 | my $self = Math::GSL::Integrationc::new_gsl_integration_lebedev_workspace(@_); | ||
| 623 | bless $self, $pkg if defined($self); | ||
| 624 | } | ||
| 625 | |||
| 626 | sub DESTROY { | ||
| 627 | return unless $_[0]->isa('HASH'); | ||
| 628 | my $self = tied(%{$_[0]}); | ||
| 629 | return unless defined $self; | ||
| 630 | delete $ITERATORS{$self}; | ||
| 631 | if (exists $OWNER{$self}) { | ||
| 632 | Math::GSL::Integrationc::delete_gsl_integration_lebedev_workspace($self); | ||
| 633 | delete $OWNER{$self}; | ||
| 634 | } | ||
| 635 | } | ||
| 636 | |||
| 637 | sub DISOWN { | ||
| 638 | my $self = shift; | ||
| 639 | my $ptr = tied(%$self); | ||
| 640 | delete $OWNER{$ptr}; | ||
| 641 | } | ||
| 642 | |||
| 643 | sub ACQUIRE { | ||
| 644 | my $self = shift; | ||
| 645 | my $ptr = tied(%$self); | ||
| 646 | $OWNER{$ptr} = 1; | ||
| 647 | } | ||
| 648 | |||
| 649 | |||
| 650 | ############# Class : Math::GSL::Integration::gsl_function_struct ############## | ||
| 651 | |||
| 652 | package Math::GSL::Integration::gsl_function_struct; | ||
| 653 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 654 | @ISA = qw( Math::GSL::Integration ); | ||
| 655 | %OWNER = (); | ||
| 656 | %ITERATORS = (); | ||
| 657 | *swig_function_get = *Math::GSL::Integrationc::gsl_function_struct_function_get; | ||
| 658 | *swig_function_set = *Math::GSL::Integrationc::gsl_function_struct_function_set; | ||
| 659 | *swig_params_get = *Math::GSL::Integrationc::gsl_function_struct_params_get; | ||
| 660 | *swig_params_set = *Math::GSL::Integrationc::gsl_function_struct_params_set; | ||
| 661 | sub new { | ||
| 662 | my $pkg = shift; | ||
| 663 | my $self = Math::GSL::Integrationc::new_gsl_function_struct(@_); | ||
| 664 | bless $self, $pkg if defined($self); | ||
| 665 | } | ||
| 666 | |||
| 667 | sub DESTROY { | ||
| 668 | return unless $_[0]->isa('HASH'); | ||
| 669 | my $self = tied(%{$_[0]}); | ||
| 670 | return unless defined $self; | ||
| 671 | delete $ITERATORS{$self}; | ||
| 672 | if (exists $OWNER{$self}) { | ||
| 673 | Math::GSL::Integrationc::delete_gsl_function_struct($self); | ||
| 674 | delete $OWNER{$self}; | ||
| 675 | } | ||
| 676 | } | ||
| 677 | |||
| 678 | sub DISOWN { | ||
| 679 | my $self = shift; | ||
| 680 | my $ptr = tied(%$self); | ||
| 681 | delete $OWNER{$ptr}; | ||
| 682 | } | ||
| 683 | |||
| 684 | sub ACQUIRE { | ||
| 685 | my $self = shift; | ||
| 686 | my $ptr = tied(%$self); | ||
| 687 | $OWNER{$ptr} = 1; | ||
| 688 | } | ||
| 689 | |||
| 690 | |||
| 691 | ############# Class : Math::GSL::Integration::gsl_function_fdf_struct ############## | ||
| 692 | |||
| 693 | package Math::GSL::Integration::gsl_function_fdf_struct; | ||
| 694 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 695 | @ISA = qw( Math::GSL::Integration ); | ||
| 696 | %OWNER = (); | ||
| 697 | %ITERATORS = (); | ||
| 698 | *swig_f_get = *Math::GSL::Integrationc::gsl_function_fdf_struct_f_get; | ||
| 699 | *swig_f_set = *Math::GSL::Integrationc::gsl_function_fdf_struct_f_set; | ||
| 700 | *swig_df_get = *Math::GSL::Integrationc::gsl_function_fdf_struct_df_get; | ||
| 701 | *swig_df_set = *Math::GSL::Integrationc::gsl_function_fdf_struct_df_set; | ||
| 702 | *swig_fdf_get = *Math::GSL::Integrationc::gsl_function_fdf_struct_fdf_get; | ||
| 703 | *swig_fdf_set = *Math::GSL::Integrationc::gsl_function_fdf_struct_fdf_set; | ||
| 704 | *swig_params_get = *Math::GSL::Integrationc::gsl_function_fdf_struct_params_get; | ||
| 705 | *swig_params_set = *Math::GSL::Integrationc::gsl_function_fdf_struct_params_set; | ||
| 706 | sub new { | ||
| 707 | my $pkg = shift; | ||
| 708 | my $self = Math::GSL::Integrationc::new_gsl_function_fdf_struct(@_); | ||
| 709 | bless $self, $pkg if defined($self); | ||
| 710 | } | ||
| 711 | |||
| 712 | sub DESTROY { | ||
| 713 | return unless $_[0]->isa('HASH'); | ||
| 714 | my $self = tied(%{$_[0]}); | ||
| 715 | return unless defined $self; | ||
| 716 | delete $ITERATORS{$self}; | ||
| 717 | if (exists $OWNER{$self}) { | ||
| 718 | Math::GSL::Integrationc::delete_gsl_function_fdf_struct($self); | ||
| 719 | delete $OWNER{$self}; | ||
| 720 | } | ||
| 721 | } | ||
| 722 | |||
| 723 | sub DISOWN { | ||
| 724 | my $self = shift; | ||
| 725 | my $ptr = tied(%$self); | ||
| 726 | delete $OWNER{$ptr}; | ||
| 727 | } | ||
| 728 | |||
| 729 | sub ACQUIRE { | ||
| 730 | my $self = shift; | ||
| 731 | my $ptr = tied(%$self); | ||
| 732 | $OWNER{$ptr} = 1; | ||
| 733 | } | ||
| 734 | |||
| 735 | |||
| 736 | ############# Class : Math::GSL::Integration::gsl_function_vec_struct ############## | ||
| 737 | |||
| 738 | package Math::GSL::Integration::gsl_function_vec_struct; | ||
| 739 | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||
| 740 | @ISA = qw( Math::GSL::Integration ); | ||
| 741 | %OWNER = (); | ||
| 742 | %ITERATORS = (); | ||
| 743 | *swig_function_get = *Math::GSL::Integrationc::gsl_function_vec_struct_function_get; | ||
| 744 | *swig_function_set = *Math::GSL::Integrationc::gsl_function_vec_struct_function_set; | ||
| 745 | *swig_params_get = *Math::GSL::Integrationc::gsl_function_vec_struct_params_get; | ||
| 746 | *swig_params_set = *Math::GSL::Integrationc::gsl_function_vec_struct_params_set; | ||
| 747 | sub new { | ||
| 748 | my $pkg = shift; | ||
| 749 | my $self = Math::GSL::Integrationc::new_gsl_function_vec_struct(@_); | ||
| 750 | bless $self, $pkg if defined($self); | ||
| 751 | } | ||
| 752 | |||
| 753 | sub DESTROY { | ||
| 754 | return unless $_[0]->isa('HASH'); | ||
| 755 | my $self = tied(%{$_[0]}); | ||
| 756 | return unless defined $self; | ||
| 757 | delete $ITERATORS{$self}; | ||
| 758 | if (exists $OWNER{$self}) { | ||
| 759 | Math::GSL::Integrationc::delete_gsl_function_vec_struct($self); | ||
| 760 | delete $OWNER{$self}; | ||
| 761 | } | ||
| 762 | } | ||
| 763 | |||
| 764 | sub DISOWN { | ||
| 765 | my $self = shift; | ||
| 766 | my $ptr = tied(%$self); | ||
| 767 | delete $OWNER{$ptr}; | ||
| 768 | } | ||
| 769 | |||
| 770 | sub ACQUIRE { | ||
| 771 | my $self = shift; | ||
| 772 | my $ptr = tied(%$self); | ||
| 773 | $OWNER{$ptr} = 1; | ||
| 774 | } | ||
| 775 | |||
| 776 | |||
| 777 | # ------- VARIABLE STUBS -------- | ||
| 778 | |||
| 779 | package Math::GSL::Integration; | ||
| 780 | |||
| 781 | *GSL_VERSION = *Math::GSL::Integrationc::GSL_VERSION; | ||
| 782 | *GSL_MAJOR_VERSION = *Math::GSL::Integrationc::GSL_MAJOR_VERSION; | ||
| 783 | *GSL_MINOR_VERSION = *Math::GSL::Integrationc::GSL_MINOR_VERSION; | ||
| 784 | *GSL_POSZERO = *Math::GSL::Integrationc::GSL_POSZERO; | ||
| 785 | *GSL_NEGZERO = *Math::GSL::Integrationc::GSL_NEGZERO; | ||
| 786 | *GSL_SUCCESS = *Math::GSL::Integrationc::GSL_SUCCESS; | ||
| 787 | *GSL_FAILURE = *Math::GSL::Integrationc::GSL_FAILURE; | ||
| 788 | *GSL_CONTINUE = *Math::GSL::Integrationc::GSL_CONTINUE; | ||
| 789 | *GSL_EDOM = *Math::GSL::Integrationc::GSL_EDOM; | ||
| 790 | *GSL_ERANGE = *Math::GSL::Integrationc::GSL_ERANGE; | ||
| 791 | *GSL_EFAULT = *Math::GSL::Integrationc::GSL_EFAULT; | ||
| 792 | *GSL_EINVAL = *Math::GSL::Integrationc::GSL_EINVAL; | ||
| 793 | *GSL_EFAILED = *Math::GSL::Integrationc::GSL_EFAILED; | ||
| 794 | *GSL_EFACTOR = *Math::GSL::Integrationc::GSL_EFACTOR; | ||
| 795 | *GSL_ESANITY = *Math::GSL::Integrationc::GSL_ESANITY; | ||
| 796 | *GSL_ENOMEM = *Math::GSL::Integrationc::GSL_ENOMEM; | ||
| 797 | *GSL_EBADFUNC = *Math::GSL::Integrationc::GSL_EBADFUNC; | ||
| 798 | *GSL_ERUNAWAY = *Math::GSL::Integrationc::GSL_ERUNAWAY; | ||
| 799 | *GSL_EMAXITER = *Math::GSL::Integrationc::GSL_EMAXITER; | ||
| 800 | *GSL_EZERODIV = *Math::GSL::Integrationc::GSL_EZERODIV; | ||
| 801 | *GSL_EBADTOL = *Math::GSL::Integrationc::GSL_EBADTOL; | ||
| 802 | *GSL_ETOL = *Math::GSL::Integrationc::GSL_ETOL; | ||
| 803 | *GSL_EUNDRFLW = *Math::GSL::Integrationc::GSL_EUNDRFLW; | ||
| 804 | *GSL_EOVRFLW = *Math::GSL::Integrationc::GSL_EOVRFLW; | ||
| 805 | *GSL_ELOSS = *Math::GSL::Integrationc::GSL_ELOSS; | ||
| 806 | *GSL_EROUND = *Math::GSL::Integrationc::GSL_EROUND; | ||
| 807 | *GSL_EBADLEN = *Math::GSL::Integrationc::GSL_EBADLEN; | ||
| 808 | *GSL_ENOTSQR = *Math::GSL::Integrationc::GSL_ENOTSQR; | ||
| 809 | *GSL_ESING = *Math::GSL::Integrationc::GSL_ESING; | ||
| 810 | *GSL_EDIVERGE = *Math::GSL::Integrationc::GSL_EDIVERGE; | ||
| 811 | *GSL_EUNSUP = *Math::GSL::Integrationc::GSL_EUNSUP; | ||
| 812 | *GSL_EUNIMPL = *Math::GSL::Integrationc::GSL_EUNIMPL; | ||
| 813 | *GSL_ECACHE = *Math::GSL::Integrationc::GSL_ECACHE; | ||
| 814 | *GSL_ETABLE = *Math::GSL::Integrationc::GSL_ETABLE; | ||
| 815 | *GSL_ENOPROG = *Math::GSL::Integrationc::GSL_ENOPROG; | ||
| 816 | *GSL_ENOPROGJ = *Math::GSL::Integrationc::GSL_ENOPROGJ; | ||
| 817 | *GSL_ETOLF = *Math::GSL::Integrationc::GSL_ETOLF; | ||
| 818 | *GSL_ETOLX = *Math::GSL::Integrationc::GSL_ETOLX; | ||
| 819 | *GSL_ETOLG = *Math::GSL::Integrationc::GSL_ETOLG; | ||
| 820 | *GSL_EOF = *Math::GSL::Integrationc::GSL_EOF; | ||
| 821 | *GSL_INTEG_COSINE = *Math::GSL::Integrationc::GSL_INTEG_COSINE; | ||
| 822 | *GSL_INTEG_SINE = *Math::GSL::Integrationc::GSL_INTEG_SINE; | ||
| 823 | *GSL_INTEG_GAUSS15 = *Math::GSL::Integrationc::GSL_INTEG_GAUSS15; | ||
| 824 | *GSL_INTEG_GAUSS21 = *Math::GSL::Integrationc::GSL_INTEG_GAUSS21; | ||
| 825 | *GSL_INTEG_GAUSS31 = *Math::GSL::Integrationc::GSL_INTEG_GAUSS31; | ||
| 826 | *GSL_INTEG_GAUSS41 = *Math::GSL::Integrationc::GSL_INTEG_GAUSS41; | ||
| 827 | *GSL_INTEG_GAUSS51 = *Math::GSL::Integrationc::GSL_INTEG_GAUSS51; | ||
| 828 | *GSL_INTEG_GAUSS61 = *Math::GSL::Integrationc::GSL_INTEG_GAUSS61; | ||
| 829 | |||
| 830 | my %__gsl_integration_fixed_legendre_hash; | ||
| 831 | tie %__gsl_integration_fixed_legendre_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_legendre; | ||
| 832 | $gsl_integration_fixed_legendre= \%__gsl_integration_fixed_legendre_hash; | ||
| 833 | bless $gsl_integration_fixed_legendre, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 834 | |||
| 835 | my %__gsl_integration_fixed_chebyshev_hash; | ||
| 836 | tie %__gsl_integration_fixed_chebyshev_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_chebyshev; | ||
| 837 | $gsl_integration_fixed_chebyshev= \%__gsl_integration_fixed_chebyshev_hash; | ||
| 838 | bless $gsl_integration_fixed_chebyshev, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 839 | |||
| 840 | my %__gsl_integration_fixed_gegenbauer_hash; | ||
| 841 | tie %__gsl_integration_fixed_gegenbauer_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_gegenbauer; | ||
| 842 | $gsl_integration_fixed_gegenbauer= \%__gsl_integration_fixed_gegenbauer_hash; | ||
| 843 | bless $gsl_integration_fixed_gegenbauer, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 844 | |||
| 845 | my %__gsl_integration_fixed_jacobi_hash; | ||
| 846 | tie %__gsl_integration_fixed_jacobi_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_jacobi; | ||
| 847 | $gsl_integration_fixed_jacobi= \%__gsl_integration_fixed_jacobi_hash; | ||
| 848 | bless $gsl_integration_fixed_jacobi, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 849 | |||
| 850 | my %__gsl_integration_fixed_laguerre_hash; | ||
| 851 | tie %__gsl_integration_fixed_laguerre_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_laguerre; | ||
| 852 | $gsl_integration_fixed_laguerre= \%__gsl_integration_fixed_laguerre_hash; | ||
| 853 | bless $gsl_integration_fixed_laguerre, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 854 | |||
| 855 | my %__gsl_integration_fixed_hermite_hash; | ||
| 856 | tie %__gsl_integration_fixed_hermite_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_hermite; | ||
| 857 | $gsl_integration_fixed_hermite= \%__gsl_integration_fixed_hermite_hash; | ||
| 858 | bless $gsl_integration_fixed_hermite, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 859 | |||
| 860 | my %__gsl_integration_fixed_exponential_hash; | ||
| 861 | tie %__gsl_integration_fixed_exponential_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_exponential; | ||
| 862 | $gsl_integration_fixed_exponential= \%__gsl_integration_fixed_exponential_hash; | ||
| 863 | bless $gsl_integration_fixed_exponential, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 864 | |||
| 865 | my %__gsl_integration_fixed_rational_hash; | ||
| 866 | tie %__gsl_integration_fixed_rational_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_rational; | ||
| 867 | $gsl_integration_fixed_rational= \%__gsl_integration_fixed_rational_hash; | ||
| 868 | bless $gsl_integration_fixed_rational, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 869 | |||
| 870 | my %__gsl_integration_fixed_chebyshev2_hash; | ||
| 871 | tie %__gsl_integration_fixed_chebyshev2_hash,"Math::GSL::Integration::gsl_integration_fixed_type", $Math::GSL::Integrationc::gsl_integration_fixed_chebyshev2; | ||
| 872 | $gsl_integration_fixed_chebyshev2= \%__gsl_integration_fixed_chebyshev2_hash; | ||
| 873 | bless $gsl_integration_fixed_chebyshev2, Math::GSL::Integration::gsl_integration_fixed_type; | ||
| 874 | *M_E = *Math::GSL::Integrationc::M_E; | ||
| 875 | *M_LOG2E = *Math::GSL::Integrationc::M_LOG2E; | ||
| 876 | *M_LOG10E = *Math::GSL::Integrationc::M_LOG10E; | ||
| 877 | *M_SQRT2 = *Math::GSL::Integrationc::M_SQRT2; | ||
| 878 | *M_SQRT1_2 = *Math::GSL::Integrationc::M_SQRT1_2; | ||
| 879 | *M_SQRT3 = *Math::GSL::Integrationc::M_SQRT3; | ||
| 880 | *M_PI = *Math::GSL::Integrationc::M_PI; | ||
| 881 | *M_PI_2 = *Math::GSL::Integrationc::M_PI_2; | ||
| 882 | *M_PI_4 = *Math::GSL::Integrationc::M_PI_4; | ||
| 883 | *M_SQRTPI = *Math::GSL::Integrationc::M_SQRTPI; | ||
| 884 | *M_2_SQRTPI = *Math::GSL::Integrationc::M_2_SQRTPI; | ||
| 885 | *M_1_PI = *Math::GSL::Integrationc::M_1_PI; | ||
| 886 | *M_2_PI = *Math::GSL::Integrationc::M_2_PI; | ||
| 887 | *M_LN10 = *Math::GSL::Integrationc::M_LN10; | ||
| 888 | *M_LN2 = *Math::GSL::Integrationc::M_LN2; | ||
| 889 | *M_LNPI = *Math::GSL::Integrationc::M_LNPI; | ||
| 890 | *M_EULER = *Math::GSL::Integrationc::M_EULER; | ||
| 891 | |||
| 892 | @EXPORT_OK = qw/ | ||
| 893 | gsl_integration_workspace_alloc | ||
| 894 | gsl_integration_workspace_free | ||
| 895 | gsl_integration_qaws_table_alloc | ||
| 896 | gsl_integration_qaws_table_set | ||
| 897 | gsl_integration_qaws_table_free | ||
| 898 | gsl_integration_qawo_table_alloc | ||
| 899 | gsl_integration_qawo_table_set | ||
| 900 | gsl_integration_qawo_table_set_length | ||
| 901 | gsl_integration_qawo_table_free | ||
| 902 | gsl_integration_qk15 | ||
| 903 | gsl_integration_qk21 | ||
| 904 | gsl_integration_qk31 | ||
| 905 | gsl_integration_qk41 | ||
| 906 | gsl_integration_qk51 | ||
| 907 | gsl_integration_qk61 | ||
| 908 | gsl_integration_qcheb | ||
| 909 | gsl_integration_qk | ||
| 910 | gsl_integration_qng | ||
| 911 | gsl_integration_qag | ||
| 912 | gsl_integration_qagi | ||
| 913 | gsl_integration_qagiu | ||
| 914 | gsl_integration_qagil | ||
| 915 | gsl_integration_qags | ||
| 916 | gsl_integration_qagp | ||
| 917 | gsl_integration_qawc | ||
| 918 | gsl_integration_qaws | ||
| 919 | gsl_integration_qawo | ||
| 920 | gsl_integration_qawf | ||
| 921 | $GSL_INTEG_COSINE | ||
| 922 | $GSL_INTEG_SINE | ||
| 923 | $GSL_INTEG_GAUSS15 | ||
| 924 | $GSL_INTEG_GAUSS21 | ||
| 925 | $GSL_INTEG_GAUSS31 | ||
| 926 | $GSL_INTEG_GAUSS41 | ||
| 927 | $GSL_INTEG_GAUSS51 | ||
| 928 | $GSL_INTEG_GAUSS61 | ||
| 929 | /; | ||
| 930 | %EXPORT_TAGS = ( all => [ @EXPORT_OK ] ); | ||
| 931 | |||
| 932 | __END__ |