Class: BoostDistributions::SkewNormal
- Inherits:
-
Object
- Object
- BoostDistributions::SkewNormal
- Defined in:
- ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx,
ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx
Overview
Proxy of C++ BoostDistributions::SkewNormal class
Instance Method Summary collapse
-
#cdf(*args, self) ⇒ Object
call-seq: cdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x, bool const & is_complement=False) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type cdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#chf(*args) ⇒ Object
call-seq: chf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#hazard(*args) ⇒ Object
call-seq: hazard(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
- #initialize(*args, self) ⇒ Object constructor
-
#kurtosis(*args) ⇒ Object
call-seq: kurtosis -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#kurtosis_excess(*args) ⇒ Object
call-seq: kurtosis_excess -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#location(*args) ⇒ Object
call-seq: location -> double.
-
#mean(*args) ⇒ Object
call-seq: mean -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#median(*args) ⇒ Object
call-seq: median -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#mode(*args) ⇒ Object
call-seq: mode -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#pdf(*args) ⇒ Object
call-seq: pdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#quantile(*args, self) ⇒ Object
call-seq: quantile(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & p, bool const & is_complement=False) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type quantile(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & p) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#range(*args) ⇒ Object
call-seq: range -> std::pair< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type,boost::math::skew_normal_distribution< double,policies::policy< > >::value_type >.
-
#scale(*args) ⇒ Object
call-seq: scale -> double.
-
#shape(*args) ⇒ Object
call-seq: shape -> double.
-
#skewness(*args) ⇒ Object
call-seq: skewness -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#standard_deviation(*args) ⇒ Object
call-seq: standard_deviation -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
-
#support(*args) ⇒ Object
call-seq: support -> std::pair< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type,boost::math::skew_normal_distribution< double,policies::policy< > >::value_type >.
-
#variance(*args) ⇒ Object
call-seq: variance -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type.
Constructor Details
#initialize(*args, self) ⇒ Object
36252 36253 36254 36255 36256 36257 36258 36259 36260 36261 36262 36263 36264 36265 36266 36267 36268 36269 36270 36271 36272 36273 36274 36275 36276 36277 36278 36279 36280 36281 36282 36283 36284 36285 36286 36287 36288 36289 36290 36291 36292 36293 36294 36295 36296 36297 36298 36299 36300 36301 36302 36303 36304 36305 36306 36307 36308 36309 36310 36311 36312 36313 36314 36315 36316 36317 36318 36319 36320 36321 36322 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36252
SWIGINTERN VALUE _wrap_new_SkewNormal(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[3];
int ii;
argc = nargs;
if (argc > 3) SWIG_fail;
for (ii = 0; (ii < argc); ++ii) {
argv[ii] = args[ii];
}
if (argc == 0) {
return _wrap_new_SkewNormal__SWIG_3(nargs, args, self);
}
if (argc == 1) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SkewNormal__SWIG_2(nargs, args, self);
}
}
if (argc == 2) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SkewNormal__SWIG_1(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
{
int res = SWIG_AsVal_double(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_double(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_SkewNormal__SWIG_0(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "SkewNormal.new",
" SkewNormal.new(double l_location, double l_scale, double l_shape)\n"
" SkewNormal.new(double l_location, double l_scale)\n"
" SkewNormal.new(double l_location)\n"
" SkewNormal.new()\n");
return Qnil;
}
|
Instance Method Details
#cdf(*args, self) ⇒ Object
call-seq:
cdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x,
bool const & is_complement=False) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
cdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36574 36575 36576 36577 36578 36579 36580 36581 36582 36583 36584 36585 36586 36587 36588 36589 36590 36591 36592 36593 36594 36595 36596 36597 36598 36599 36600 36601 36602 36603 36604 36605 36606 36607 36608 36609 36610 36611 36612 36613 36614 36615 36616 36617 36618 36619 36620 36621 36622 36623 36624 36625 36626 36627 36628 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36574
SWIGINTERN VALUE _wrap_SkewNormal_cdf(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[4];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 4) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_SkewNormal_cdf__SWIG_1(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_SkewNormal_cdf__SWIG_0(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 4, "cdf",
" boost::math::skew_normal_distribution< double,policies::policy< > >::value_type cdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const &x, bool const &is_complement)\n"
" boost::math::skew_normal_distribution< double,policies::policy< > >::value_type cdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const &x)\n");
return Qnil;
}
|
#chf(*args) ⇒ Object
call-seq:
chf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36847 36848 36849 36850 36851 36852 36853 36854 36855 36856 36857 36858 36859 36860 36861 36862 36863 36864 36865 36866 36867 36868 36869 36870 36871 36872 36873 36874 36875 36876 36877 36878 36879 36880 36881 36882 36883 36884 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36847
SWIGINTERN VALUE
_wrap_SkewNormal_chf(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type temp2 ;
double val2 ;
int ecode2 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","chf", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > >::value_type","chf", 2, argv[0] ));
}
temp2 = static_cast< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type >(val2);
arg2 = &temp2;
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__chf((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1,(double const &)*arg2);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#hazard(*args) ⇒ Object
call-seq:
hazard(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36798 36799 36800 36801 36802 36803 36804 36805 36806 36807 36808 36809 36810 36811 36812 36813 36814 36815 36816 36817 36818 36819 36820 36821 36822 36823 36824 36825 36826 36827 36828 36829 36830 36831 36832 36833 36834 36835 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36798
SWIGINTERN VALUE
_wrap_SkewNormal_hazard(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type temp2 ;
double val2 ;
int ecode2 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","hazard", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > >::value_type","hazard", 2, argv[0] ));
}
temp2 = static_cast< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type >(val2);
arg2 = &temp2;
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__hazard((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1,(double const &)*arg2);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#kurtosis(*args) ⇒ Object
call-seq:
kurtosis -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
37130 37131 37132 37133 37134 37135 37136 37137 37138 37139 37140 37141 37142 37143 37144 37145 37146 37147 37148 37149 37150 37151 37152 37153 37154 37155 37156 37157 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 37130
SWIGINTERN VALUE
_wrap_SkewNormal_kurtosis(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","kurtosis", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__kurtosis((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#kurtosis_excess(*args) ⇒ Object
call-seq:
kurtosis_excess -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
37169 37170 37171 37172 37173 37174 37175 37176 37177 37178 37179 37180 37181 37182 37183 37184 37185 37186 37187 37188 37189 37190 37191 37192 37193 37194 37195 37196 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 37169
SWIGINTERN VALUE
_wrap_SkewNormal_kurtosis_excess(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","kurtosis_excess", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__kurtosis_excess((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#location(*args) ⇒ Object
call-seq:
location -> double
An instance method.
36334 36335 36336 36337 36338 36339 36340 36341 36342 36343 36344 36345 36346 36347 36348 36349 36350 36351 36352 36353 36354 36355 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36334
SWIGINTERN VALUE
_wrap_SkewNormal_location(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","location", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
result = (double)((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1)->location();
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#mean(*args) ⇒ Object
call-seq:
mean -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36896 36897 36898 36899 36900 36901 36902 36903 36904 36905 36906 36907 36908 36909 36910 36911 36912 36913 36914 36915 36916 36917 36918 36919 36920 36921 36922 36923 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36896
SWIGINTERN VALUE
_wrap_SkewNormal_mean(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","mean", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__mean((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#median(*args) ⇒ Object
call-seq:
median -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36935 36936 36937 36938 36939 36940 36941 36942 36943 36944 36945 36946 36947 36948 36949 36950 36951 36952 36953 36954 36955 36956 36957 36958 36959 36960 36961 36962 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36935
SWIGINTERN VALUE
_wrap_SkewNormal_median(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","median", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__median((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#mode(*args) ⇒ Object
call-seq:
mode -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36974 36975 36976 36977 36978 36979 36980 36981 36982 36983 36984 36985 36986 36987 36988 36989 36990 36991 36992 36993 36994 36995 36996 36997 36998 36999 37000 37001 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36974
SWIGINTERN VALUE
_wrap_SkewNormal_mode(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","mode", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__mode((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#pdf(*args) ⇒ Object
call-seq:
pdf(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36433 36434 36435 36436 36437 36438 36439 36440 36441 36442 36443 36444 36445 36446 36447 36448 36449 36450 36451 36452 36453 36454 36455 36456 36457 36458 36459 36460 36461 36462 36463 36464 36465 36466 36467 36468 36469 36470 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36433
SWIGINTERN VALUE
_wrap_SkewNormal_pdf(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type temp2 ;
double val2 ;
int ecode2 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","pdf", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > >::value_type","pdf", 2, argv[0] ));
}
temp2 = static_cast< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type >(val2);
arg2 = &temp2;
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__pdf((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1,(double const &)*arg2);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#quantile(*args, self) ⇒ Object
call-seq:
quantile(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & p,
bool const & is_complement=False) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
quantile(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const & p) -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
36732 36733 36734 36735 36736 36737 36738 36739 36740 36741 36742 36743 36744 36745 36746 36747 36748 36749 36750 36751 36752 36753 36754 36755 36756 36757 36758 36759 36760 36761 36762 36763 36764 36765 36766 36767 36768 36769 36770 36771 36772 36773 36774 36775 36776 36777 36778 36779 36780 36781 36782 36783 36784 36785 36786 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36732
SWIGINTERN VALUE _wrap_SkewNormal_quantile(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[4];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 4) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_SkewNormal_quantile__SWIG_1(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_double(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_bool(argv[2], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_SkewNormal_quantile__SWIG_0(nargs, args, self);
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 4, "quantile",
" boost::math::skew_normal_distribution< double,policies::policy< > >::value_type quantile(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const &p, bool const &is_complement)\n"
" boost::math::skew_normal_distribution< double,policies::policy< > >::value_type quantile(boost::math::skew_normal_distribution< double,policies::policy< > >::value_type const &p)\n");
return Qnil;
}
|
#range(*args) ⇒ Object
call-seq:
range -> std::pair< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type,boost::math::skew_normal_distribution< double,policies::policy< > >::value_type >
An instance method.
37208 37209 37210 37211 37212 37213 37214 37215 37216 37217 37218 37219 37220 37221 37222 37223 37224 37225 37226 37227 37228 37229 37230 37231 37232 37233 37234 37235 37236 37237 37238 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 37208
SWIGINTERN VALUE
_wrap_SkewNormal_range(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type,boost::math::skew_normal_distribution< double,policies::policy< > >::value_type > result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","range", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__range((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
{
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((&result)->first));
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((&result)->second));
}
return vresult;
fail:
return Qnil;
}
|
#scale(*args) ⇒ Object
call-seq:
scale -> double
An instance method.
36367 36368 36369 36370 36371 36372 36373 36374 36375 36376 36377 36378 36379 36380 36381 36382 36383 36384 36385 36386 36387 36388 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36367
SWIGINTERN VALUE
_wrap_SkewNormal_scale(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","scale", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
result = (double)((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1)->scale();
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#shape(*args) ⇒ Object
call-seq:
shape -> double
An instance method.
36400 36401 36402 36403 36404 36405 36406 36407 36408 36409 36410 36411 36412 36413 36414 36415 36416 36417 36418 36419 36420 36421 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 36400
SWIGINTERN VALUE
_wrap_SkewNormal_shape(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","shape", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
result = (double)((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1)->shape();
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#skewness(*args) ⇒ Object
call-seq:
skewness -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
37091 37092 37093 37094 37095 37096 37097 37098 37099 37100 37101 37102 37103 37104 37105 37106 37107 37108 37109 37110 37111 37112 37113 37114 37115 37116 37117 37118 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 37091
SWIGINTERN VALUE
_wrap_SkewNormal_skewness(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","skewness", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__skewness((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#standard_deviation(*args) ⇒ Object
call-seq:
standard_deviation -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
37013 37014 37015 37016 37017 37018 37019 37020 37021 37022 37023 37024 37025 37026 37027 37028 37029 37030 37031 37032 37033 37034 37035 37036 37037 37038 37039 37040 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 37013
SWIGINTERN VALUE
_wrap_SkewNormal_standard_deviation(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","standard_deviation", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__standard_deviation((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#support(*args) ⇒ Object
call-seq:
support -> std::pair< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type,boost::math::skew_normal_distribution< double,policies::policy< > >::value_type >
An instance method.
37250 37251 37252 37253 37254 37255 37256 37257 37258 37259 37260 37261 37262 37263 37264 37265 37266 37267 37268 37269 37270 37271 37272 37273 37274 37275 37276 37277 37278 37279 37280 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 37250
SWIGINTERN VALUE
_wrap_SkewNormal_support(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::pair< boost::math::skew_normal_distribution< double,policies::policy< > >::value_type,boost::math::skew_normal_distribution< double,policies::policy< > >::value_type > result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","support", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__support((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
{
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((&result)->first));
vresult = SWIG_Ruby_AppendOutput(vresult, swig::from((&result)->second));
}
return vresult;
fail:
return Qnil;
}
|
#variance(*args) ⇒ Object
call-seq:
variance -> boost::math::skew_normal_distribution< double,policies::policy< > >::value_type
An instance method.
37052 37053 37054 37055 37056 37057 37058 37059 37060 37061 37062 37063 37064 37065 37066 37067 37068 37069 37070 37071 37072 37073 37074 37075 37076 37077 37078 37079 |
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 37052
SWIGINTERN VALUE
_wrap_SkewNormal_variance(int argc, VALUE *argv, VALUE self) {
boost::math::skew_normal_distribution< double,policies::policy< > > *arg1 = (boost::math::skew_normal_distribution< double,policies::policy< > > *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
boost::math::skew_normal_distribution< double,policies::policy< > >::value_type result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_boost__math__skew_normal_distributionT_double_policies__policyT_t_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::skew_normal_distribution< double,policies::policy< > > const *","variance", 1, self ));
}
arg1 = reinterpret_cast< boost::math::skew_normal_distribution< double,policies::policy< > > * >(argp1);
try {
result = (boost::math::skew_normal_distribution< double,policies::policy< > >::value_type)boost_math_skew_normal_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__variance((boost::math::skew_normal_distribution< double,policies::policy< > > const *)arg1);
} catch(std::logic_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
} catch(std::runtime_error &_e) {
SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
}
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|