| 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::Sum; | ||||||||||
| 8 | 1 | ▶ | use base qw(Exporter); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 1 | ▶ | use base qw(DynaLoader); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | package Math::GSL::Sumc; | ||||||||||
| 11 | bootstrap Math::GSL::Sum; | ||||||||||
| 12 | package Math::GSL::Sum; | ||||||||||
| 13 | @EXPORT = qw(); | ||||||||||
| 14 | |||||||||||
| 15 | # ---------- BASE METHODS ------------- | ||||||||||
| 16 | |||||||||||
| 17 | package Math::GSL::Sum; | ||||||||||
| 18 | |||||||||||
| 19 | 0 | ▶ | sub TIEHASH { | ||||||||
|
Subroutine
TIEHASH: not called CC=1 SCAR=6.9
| |||||||||||
| 20 | 0 | my ($classname,$obj) = @_; | |||||||||
| 21 | 0 | return bless $obj, $classname; | |||||||||
| 22 | } | ||||||||||
| 23 | |||||||||||
| 24 | 0 | ▶ | sub CLEAR { } | ||||||||
|
Subroutine
CLEAR: not called CC=1 SCAR=0.0
| |||||||||||
| 25 | |||||||||||
| 26 | 0 | ▶ | sub FIRSTKEY { } | ||||||||
|
Subroutine
FIRSTKEY: not called CC=1 SCAR=0.0
| |||||||||||
| 27 | |||||||||||
| 28 | 0 | ▶ | sub NEXTKEY { } | ||||||||
|
Subroutine
NEXTKEY: not called CC=1 SCAR=0.0
| |||||||||||
| 29 | |||||||||||
| 30 | 0 | ▶ | sub FETCH { | ||||||||
|
Subroutine
FETCH: not called CC=1 SCAR=6.9
| |||||||||||
| 31 | 0 | my ($self,$field) = @_; | |||||||||
| 32 | 0 | my $member_func = "swig_${field}_get"; | |||||||||
| 33 | 0 | $self->$member_func(); | |||||||||
| 34 | } | ||||||||||
| 35 | |||||||||||
| 36 | 0 | ▶ | sub STORE { | ||||||||
|
Subroutine
STORE: not called CC=1 SCAR=6.9
| |||||||||||
| 37 | 0 | my ($self,$field,$newval) = @_; | |||||||||
| 38 | 0 | my $member_func = "swig_${field}_set"; | |||||||||
| 39 | 0 | $self->$member_func($newval); | |||||||||
| 40 | } | ||||||||||
| 41 | |||||||||||
| 42 | 0 | ▶ | sub this { | ||||||||
|
Subroutine
this: not called CC=1 SCAR=6.9
| |||||||||||
| 43 | 0 | my $ptr = shift; | |||||||||
| 44 | 0 | return tied(%$ptr); | |||||||||
| 45 | } | ||||||||||
| 46 | |||||||||||
| 47 | |||||||||||
| 48 | # ------- FUNCTION WRAPPERS -------- | ||||||||||
| 49 | |||||||||||
| 50 | package Math::GSL::Sum; | ||||||||||
| 51 | |||||||||||
| 52 | *gsl_error = *Math::GSL::Sumc::gsl_error; | ||||||||||
| 53 | *gsl_stream_printf = *Math::GSL::Sumc::gsl_stream_printf; | ||||||||||
| 54 | *gsl_strerror = *Math::GSL::Sumc::gsl_strerror; | ||||||||||
| 55 | *gsl_set_error_handler = *Math::GSL::Sumc::gsl_set_error_handler; | ||||||||||
| 56 | *gsl_set_error_handler_off = *Math::GSL::Sumc::gsl_set_error_handler_off; | ||||||||||
| 57 | *gsl_set_stream_handler = *Math::GSL::Sumc::gsl_set_stream_handler; | ||||||||||
| 58 | *gsl_set_stream = *Math::GSL::Sumc::gsl_set_stream; | ||||||||||
| 59 | *gsl_sum_levin_u_alloc = *Math::GSL::Sumc::gsl_sum_levin_u_alloc; | ||||||||||
| 60 | *gsl_sum_levin_u_free = *Math::GSL::Sumc::gsl_sum_levin_u_free; | ||||||||||
| 61 | *gsl_sum_levin_u_accel = *Math::GSL::Sumc::gsl_sum_levin_u_accel; | ||||||||||
| 62 | *gsl_sum_levin_u_minmax = *Math::GSL::Sumc::gsl_sum_levin_u_minmax; | ||||||||||
| 63 | *gsl_sum_levin_u_step = *Math::GSL::Sumc::gsl_sum_levin_u_step; | ||||||||||
| 64 | *gsl_sum_levin_utrunc_alloc = *Math::GSL::Sumc::gsl_sum_levin_utrunc_alloc; | ||||||||||
| 65 | *gsl_sum_levin_utrunc_free = *Math::GSL::Sumc::gsl_sum_levin_utrunc_free; | ||||||||||
| 66 | *gsl_sum_levin_utrunc_accel = *Math::GSL::Sumc::gsl_sum_levin_utrunc_accel; | ||||||||||
| 67 | *gsl_sum_levin_utrunc_minmax = *Math::GSL::Sumc::gsl_sum_levin_utrunc_minmax; | ||||||||||
| 68 | *gsl_sum_levin_utrunc_step = *Math::GSL::Sumc::gsl_sum_levin_utrunc_step; | ||||||||||
| 69 | |||||||||||
| 70 | ############# Class : Math::GSL::Sum::gsl_sum_levin_u_workspace ############## | ||||||||||
| 71 | |||||||||||
| 72 | package Math::GSL::Sum::gsl_sum_levin_u_workspace; | ||||||||||
| 73 | 1 | ▶ | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 74 | @ISA = qw( Math::GSL::Sum ); | ||||||||||
| 75 | %OWNER = (); | ||||||||||
| 76 | %ITERATORS = (); | ||||||||||
| 77 | *swig_size_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_size_get; | ||||||||||
| 78 | *swig_size_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_size_set; | ||||||||||
| 79 | *swig_i_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_i_get; | ||||||||||
| 80 | *swig_i_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_i_set; | ||||||||||
| 81 | *swig_terms_used_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_terms_used_get; | ||||||||||
| 82 | *swig_terms_used_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_terms_used_set; | ||||||||||
| 83 | *swig_sum_plain_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_sum_plain_get; | ||||||||||
| 84 | *swig_sum_plain_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_sum_plain_set; | ||||||||||
| 85 | *swig_q_num_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_q_num_get; | ||||||||||
| 86 | *swig_q_num_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_q_num_set; | ||||||||||
| 87 | *swig_q_den_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_q_den_get; | ||||||||||
| 88 | *swig_q_den_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_q_den_set; | ||||||||||
| 89 | *swig_dq_num_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_dq_num_get; | ||||||||||
| 90 | *swig_dq_num_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_dq_num_set; | ||||||||||
| 91 | *swig_dq_den_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_dq_den_get; | ||||||||||
| 92 | *swig_dq_den_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_dq_den_set; | ||||||||||
| 93 | *swig_dsum_get = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_dsum_get; | ||||||||||
| 94 | *swig_dsum_set = *Math::GSL::Sumc::gsl_sum_levin_u_workspace_dsum_set; | ||||||||||
| 95 | 0 | ▶ | sub new { | ||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
| |||||||||||
| 96 | 0 | my $pkg = shift; | |||||||||
| 97 | 0 | my $self = Math::GSL::Sumc::new_gsl_sum_levin_u_workspace(@_); | |||||||||
| 98 | 0 | ▶ | bless $self, $pkg if defined($self); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 99 | } | ||||||||||
| 100 | |||||||||||
| 101 | 0 | ▶ | sub DESTROY { | ||||||||
|
Subroutine
DESTROY: not called CC=4 SCAR=30.0
| |||||||||||
| 102 | 0 | ▶ | return unless $_[0]->isa('HASH'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 103 | 0 | my $self = tied(%{$_[0]}); | |||||||||
| 104 | 0 | ▶ | return unless defined $self; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 105 | 0 | delete $ITERATORS{$self}; | |||||||||
| 106 | 0 | ▶ | if (exists $OWNER{$self}) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 107 | 0 | Math::GSL::Sumc::delete_gsl_sum_levin_u_workspace($self); | |||||||||
| 108 | 0 | delete $OWNER{$self}; | |||||||||
| 109 | } | ||||||||||
| 110 | } | ||||||||||
| 111 | |||||||||||
| 112 | 0 | ▶ | sub DISOWN { | ||||||||
|
Subroutine
DISOWN: not called CC=1 SCAR=6.9
| |||||||||||
| 113 | 0 | my $self = shift; | |||||||||
| 114 | 0 | my $ptr = tied(%$self); | |||||||||
| 115 | 0 | delete $OWNER{$ptr}; | |||||||||
| 116 | } | ||||||||||
| 117 | |||||||||||
| 118 | 0 | ▶ | sub ACQUIRE { | ||||||||
|
Subroutine
ACQUIRE: not called CC=1 SCAR=6.9
| |||||||||||
| 119 | 0 | my $self = shift; | |||||||||
| 120 | 0 | my $ptr = tied(%$self); | |||||||||
| 121 | 0 | $OWNER{$ptr} = 1; | |||||||||
| 122 | } | ||||||||||
| 123 | |||||||||||
| 124 | |||||||||||
| 125 | ############# Class : Math::GSL::Sum::gsl_sum_levin_utrunc_workspace ############## | ||||||||||
| 126 | |||||||||||
| 127 | package Math::GSL::Sum::gsl_sum_levin_utrunc_workspace; | ||||||||||
| 128 | 1 | ▶ | use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 129 | @ISA = qw( Math::GSL::Sum ); | ||||||||||
| 130 | %OWNER = (); | ||||||||||
| 131 | %ITERATORS = (); | ||||||||||
| 132 | *swig_size_get = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_size_get; | ||||||||||
| 133 | *swig_size_set = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_size_set; | ||||||||||
| 134 | *swig_i_get = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_i_get; | ||||||||||
| 135 | *swig_i_set = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_i_set; | ||||||||||
| 136 | *swig_terms_used_get = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_terms_used_get; | ||||||||||
| 137 | *swig_terms_used_set = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_terms_used_set; | ||||||||||
| 138 | *swig_sum_plain_get = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_sum_plain_get; | ||||||||||
| 139 | *swig_sum_plain_set = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_sum_plain_set; | ||||||||||
| 140 | *swig_q_num_get = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_q_num_get; | ||||||||||
| 141 | *swig_q_num_set = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_q_num_set; | ||||||||||
| 142 | *swig_q_den_get = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_q_den_get; | ||||||||||
| 143 | *swig_q_den_set = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_q_den_set; | ||||||||||
| 144 | *swig_dsum_get = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_dsum_get; | ||||||||||
| 145 | *swig_dsum_set = *Math::GSL::Sumc::gsl_sum_levin_utrunc_workspace_dsum_set; | ||||||||||
| 146 | 0 | ▶ | sub new { | ||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
| |||||||||||
| 147 | 0 | my $pkg = shift; | |||||||||
| 148 | 0 | my $self = Math::GSL::Sumc::new_gsl_sum_levin_utrunc_workspace(@_); | |||||||||
| 149 | 0 | ▶ | bless $self, $pkg if defined($self); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 150 | } | ||||||||||
| 151 | |||||||||||
| 152 | 0 | ▶ | sub DESTROY { | ||||||||
|
Subroutine
DESTROY: not called CC=4 SCAR=30.0
| |||||||||||
| 153 | 0 | ▶ | return unless $_[0]->isa('HASH'); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 154 | 0 | my $self = tied(%{$_[0]}); | |||||||||
| 155 | 0 | ▶ | return unless defined $self; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 156 | 0 | delete $ITERATORS{$self}; | |||||||||
| 157 | 0 | ▶ | if (exists $OWNER{$self}) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 158 | 0 | Math::GSL::Sumc::delete_gsl_sum_levin_utrunc_workspace($self); | |||||||||
| 159 | 0 | delete $OWNER{$self}; | |||||||||
| 160 | } | ||||||||||
| 161 | } | ||||||||||
| 162 | |||||||||||
| 163 | 0 | ▶ | sub DISOWN { | ||||||||
|
Subroutine
DISOWN: not called CC=1 SCAR=6.9
| |||||||||||
| 164 | 0 | my $self = shift; | |||||||||
| 165 | 0 | my $ptr = tied(%$self); | |||||||||
| 166 | 0 | delete $OWNER{$ptr}; | |||||||||
| 167 | } | ||||||||||
| 168 | |||||||||||
| 169 | 0 | ▶ | sub ACQUIRE { | ||||||||
|
Subroutine
ACQUIRE: not called CC=1 SCAR=6.9
| |||||||||||
| 170 | 0 | my $self = shift; | |||||||||
| 171 | 0 | my $ptr = tied(%$self); | |||||||||
| 172 | 0 | $OWNER{$ptr} = 1; | |||||||||
| 173 | } | ||||||||||
| 174 | |||||||||||
| 175 | |||||||||||
| 176 | # ------- VARIABLE STUBS -------- | ||||||||||
| 177 | |||||||||||
| 178 | package Math::GSL::Sum; | ||||||||||
| 179 | |||||||||||
| 180 | *GSL_VERSION = *Math::GSL::Sumc::GSL_VERSION; | ||||||||||
| 181 | *GSL_MAJOR_VERSION = *Math::GSL::Sumc::GSL_MAJOR_VERSION; | ||||||||||
| 182 | *GSL_MINOR_VERSION = *Math::GSL::Sumc::GSL_MINOR_VERSION; | ||||||||||
| 183 | *GSL_POSZERO = *Math::GSL::Sumc::GSL_POSZERO; | ||||||||||
| 184 | *GSL_NEGZERO = *Math::GSL::Sumc::GSL_NEGZERO; | ||||||||||
| 185 | *GSL_SUCCESS = *Math::GSL::Sumc::GSL_SUCCESS; | ||||||||||
| 186 | *GSL_FAILURE = *Math::GSL::Sumc::GSL_FAILURE; | ||||||||||
| 187 | *GSL_CONTINUE = *Math::GSL::Sumc::GSL_CONTINUE; | ||||||||||
| 188 | *GSL_EDOM = *Math::GSL::Sumc::GSL_EDOM; | ||||||||||
| 189 | *GSL_ERANGE = *Math::GSL::Sumc::GSL_ERANGE; | ||||||||||
| 190 | *GSL_EFAULT = *Math::GSL::Sumc::GSL_EFAULT; | ||||||||||
| 191 | *GSL_EINVAL = *Math::GSL::Sumc::GSL_EINVAL; | ||||||||||
| 192 | *GSL_EFAILED = *Math::GSL::Sumc::GSL_EFAILED; | ||||||||||
| 193 | *GSL_EFACTOR = *Math::GSL::Sumc::GSL_EFACTOR; | ||||||||||
| 194 | *GSL_ESANITY = *Math::GSL::Sumc::GSL_ESANITY; | ||||||||||
| 195 | *GSL_ENOMEM = *Math::GSL::Sumc::GSL_ENOMEM; | ||||||||||
| 196 | *GSL_EBADFUNC = *Math::GSL::Sumc::GSL_EBADFUNC; | ||||||||||
| 197 | *GSL_ERUNAWAY = *Math::GSL::Sumc::GSL_ERUNAWAY; | ||||||||||
| 198 | *GSL_EMAXITER = *Math::GSL::Sumc::GSL_EMAXITER; | ||||||||||
| 199 | *GSL_EZERODIV = *Math::GSL::Sumc::GSL_EZERODIV; | ||||||||||
| 200 | *GSL_EBADTOL = *Math::GSL::Sumc::GSL_EBADTOL; | ||||||||||
| 201 | *GSL_ETOL = *Math::GSL::Sumc::GSL_ETOL; | ||||||||||
| 202 | *GSL_EUNDRFLW = *Math::GSL::Sumc::GSL_EUNDRFLW; | ||||||||||
| 203 | *GSL_EOVRFLW = *Math::GSL::Sumc::GSL_EOVRFLW; | ||||||||||
| 204 | *GSL_ELOSS = *Math::GSL::Sumc::GSL_ELOSS; | ||||||||||
| 205 | *GSL_EROUND = *Math::GSL::Sumc::GSL_EROUND; | ||||||||||
| 206 | *GSL_EBADLEN = *Math::GSL::Sumc::GSL_EBADLEN; | ||||||||||
| 207 | *GSL_ENOTSQR = *Math::GSL::Sumc::GSL_ENOTSQR; | ||||||||||
| 208 | *GSL_ESING = *Math::GSL::Sumc::GSL_ESING; | ||||||||||
| 209 | *GSL_EDIVERGE = *Math::GSL::Sumc::GSL_EDIVERGE; | ||||||||||
| 210 | *GSL_EUNSUP = *Math::GSL::Sumc::GSL_EUNSUP; | ||||||||||
| 211 | *GSL_EUNIMPL = *Math::GSL::Sumc::GSL_EUNIMPL; | ||||||||||
| 212 | *GSL_ECACHE = *Math::GSL::Sumc::GSL_ECACHE; | ||||||||||
| 213 | *GSL_ETABLE = *Math::GSL::Sumc::GSL_ETABLE; | ||||||||||
| 214 | *GSL_ENOPROG = *Math::GSL::Sumc::GSL_ENOPROG; | ||||||||||
| 215 | *GSL_ENOPROGJ = *Math::GSL::Sumc::GSL_ENOPROGJ; | ||||||||||
| 216 | *GSL_ETOLF = *Math::GSL::Sumc::GSL_ETOLF; | ||||||||||
| 217 | *GSL_ETOLX = *Math::GSL::Sumc::GSL_ETOLX; | ||||||||||
| 218 | *GSL_ETOLG = *Math::GSL::Sumc::GSL_ETOLG; | ||||||||||
| 219 | *GSL_EOF = *Math::GSL::Sumc::GSL_EOF; | ||||||||||
| 220 | |||||||||||
| 221 | @EXPORT_OK = qw/ | ||||||||||
| 222 | gsl_sum_levin_u_alloc | ||||||||||
| 223 | gsl_sum_levin_u_free | ||||||||||
| 224 | gsl_sum_levin_u_accel | ||||||||||
| 225 | gsl_sum_levin_u_minmax | ||||||||||
| 226 | gsl_sum_levin_u_step | ||||||||||
| 227 | gsl_sum_levin_utrunc_alloc | ||||||||||
| 228 | gsl_sum_levin_utrunc_free | ||||||||||
| 229 | gsl_sum_levin_utrunc_accel | ||||||||||
| 230 | gsl_sum_levin_utrunc_minmax | ||||||||||
| 231 | gsl_sum_levin_utrunc_step | ||||||||||
| 232 | /; | ||||||||||
| 233 | %EXPORT_TAGS = ( all => \@EXPORT_OK ); | ||||||||||
| 234 | |||||||||||
| 235 | __END__ | ||||||||||