Class: BoostDistributions::NonCentralF

Inherits:
Object
  • Object
show all
Defined in:
ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx,
ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx

Overview

Proxy of C++ BoostDistributions::NonCentralF class

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object

call-seq:

NonCentralF.new(double v1_, double v2_, double lambda)

Class constructor.



29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 29921

SWIGINTERN VALUE
_wrap_new_NonCentralF(int argc, VALUE *argv, VALUE self) {
  double arg1 ;
  double arg2 ;
  double arg3 ;
  double val1 ;
  int ecode1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  double val3 ;
  int ecode3 = 0 ;
  boost::math::non_central_f_distribution< double,policies::policy< > > *result = 0 ;
  
  if ((argc < 3) || (argc > 3)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
  }
  ecode1 = SWIG_AsVal_double(argv[0], &val1);
  if (!SWIG_IsOK(ecode1)) {
    SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "double","non_central_f_distribution<(double,policies::policy<()>)>", 1, argv[0] ));
  } 
  arg1 = static_cast< double >(val1);
  ecode2 = SWIG_AsVal_double(argv[1], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","non_central_f_distribution<(double,policies::policy<()>)>", 2, argv[1] ));
  } 
  arg2 = static_cast< double >(val2);
  ecode3 = SWIG_AsVal_double(argv[2], &val3);
  if (!SWIG_IsOK(ecode3)) {
    SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "double","non_central_f_distribution<(double,policies::policy<()>)>", 3, argv[2] ));
  } 
  arg3 = static_cast< double >(val3);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > > *)new boost::math::non_central_f_distribution< double,policies::policy< > >(arg1,arg2,arg3);
    DATA_PTR(self) = result;
  } catch(std::logic_error &_e) {
    SWIG_exception_fail(SWIG_RuntimeError, (&_e)->what());
  }
  return self;
fail:
  return Qnil;
}

Instance Method Details

#cdf(*args, self) ⇒ Object

call-seq:

cdf(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const & x,
bool const & is_complement=False) -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type
cdf(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30213

SWIGINTERN VALUE _wrap_NonCentralF_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__non_central_f_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_NonCentralF_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__non_central_f_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_NonCentralF_cdf__SWIG_0(nargs, args, self);
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "cdf", 
    "    boost::math::non_central_f_distribution< double,policies::policy< > >::value_type cdf(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const &x, bool const &is_complement)\n"
    "    boost::math::non_central_f_distribution< double,policies::policy< > >::value_type cdf(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const &x)\n");
  
  return Qnil;
}

#chf(*args) ⇒ Object

call-seq:

chf(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30486

SWIGINTERN VALUE
_wrap_NonCentralF_chf(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  boost::math::non_central_f_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_distribution< double,policies::policy< > >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","chf", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type","chf", 2, argv[0] ));
  } 
  temp2 = static_cast< boost::math::non_central_f_distribution< double,policies::policy< > >::value_type >(val2);
  arg2 = &temp2;
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__chf((boost::math::non_central_f_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;
}

#degrees_of_freedom1(*args) ⇒ Object

call-seq:

degrees_of_freedom1 -> double

An instance method.



29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 29973

SWIGINTERN VALUE
_wrap_NonCentralF_degrees_of_freedom1(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","degrees_of_freedom1", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  result = (double)((boost::math::non_central_f_distribution< double,policies::policy< > > const *)arg1)->degrees_of_freedom1();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}

#degrees_of_freedom2(*args) ⇒ Object

call-seq:

degrees_of_freedom2 -> double

An instance method.



30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30006

SWIGINTERN VALUE
_wrap_NonCentralF_degrees_of_freedom2(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","degrees_of_freedom2", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  result = (double)((boost::math::non_central_f_distribution< double,policies::policy< > > const *)arg1)->degrees_of_freedom2();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}

#hazard(*args) ⇒ Object

call-seq:

hazard(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30437

SWIGINTERN VALUE
_wrap_NonCentralF_hazard(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  boost::math::non_central_f_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_distribution< double,policies::policy< > >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","hazard", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type","hazard", 2, argv[0] ));
  } 
  temp2 = static_cast< boost::math::non_central_f_distribution< double,policies::policy< > >::value_type >(val2);
  arg2 = &temp2;
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__hazard((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30769

SWIGINTERN VALUE
_wrap_NonCentralF_kurtosis(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","kurtosis", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__kurtosis((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30808

SWIGINTERN VALUE
_wrap_NonCentralF_kurtosis_excess(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","kurtosis_excess", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__kurtosis_excess((boost::math::non_central_f_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;
}

#mean(*args) ⇒ Object

call-seq:

mean -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30535

SWIGINTERN VALUE
_wrap_NonCentralF_mean(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","mean", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__mean((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30574

SWIGINTERN VALUE
_wrap_NonCentralF_median(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","median", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__median((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30613

SWIGINTERN VALUE
_wrap_NonCentralF_mode(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","mode", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__mode((boost::math::non_central_f_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;
}

#non_centrality(*args) ⇒ Object

call-seq:

non_centrality -> double

An instance method.



30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30039

SWIGINTERN VALUE
_wrap_NonCentralF_non_centrality(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","non_centrality", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  result = (double)((boost::math::non_central_f_distribution< double,policies::policy< > > const *)arg1)->non_centrality();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}

#pdf(*args) ⇒ Object

call-seq:

pdf(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30072

SWIGINTERN VALUE
_wrap_NonCentralF_pdf(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  boost::math::non_central_f_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_distribution< double,policies::policy< > >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","pdf", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type","pdf", 2, argv[0] ));
  } 
  temp2 = static_cast< boost::math::non_central_f_distribution< double,policies::policy< > >::value_type >(val2);
  arg2 = &temp2;
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__pdf((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type const & p,
bool const & is_complement=False) -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type
quantile(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const & p) -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30371

SWIGINTERN VALUE _wrap_NonCentralF_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__non_central_f_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_NonCentralF_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__non_central_f_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_NonCentralF_quantile__SWIG_0(nargs, args, self);
        }
      }
    }
  }
  
fail:
  Ruby_Format_OverloadedError( argc, 4, "quantile", 
    "    boost::math::non_central_f_distribution< double,policies::policy< > >::value_type quantile(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const &p, bool const &is_complement)\n"
    "    boost::math::non_central_f_distribution< double,policies::policy< > >::value_type quantile(boost::math::non_central_f_distribution< double,policies::policy< > >::value_type const &p)\n");
  
  return Qnil;
}

#range(*args) ⇒ Object

call-seq:

range -> std::pair< boost::math::non_central_f_distribution< double,policies::policy< > >::value_type,boost::math::non_central_f_distribution< double,policies::policy< > >::value_type >

An instance method.



30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30847

SWIGINTERN VALUE
_wrap_NonCentralF_range(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::pair< boost::math::non_central_f_distribution< double,policies::policy< > >::value_type,boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","range", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__range((boost::math::non_central_f_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;
}

#skewness(*args) ⇒ Object

call-seq:

skewness -> boost::math::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30730

SWIGINTERN VALUE
_wrap_NonCentralF_skewness(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","skewness", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__skewness((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30652

SWIGINTERN VALUE
_wrap_NonCentralF_standard_deviation(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","standard_deviation", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__standard_deviation((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type,boost::math::non_central_f_distribution< double,policies::policy< > >::value_type >

An instance method.



30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30889

SWIGINTERN VALUE
_wrap_NonCentralF_support(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::pair< boost::math::non_central_f_distribution< double,policies::policy< > >::value_type,boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","support", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__support((boost::math::non_central_f_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::non_central_f_distribution< double,policies::policy< > >::value_type

An instance method.



30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30691

SWIGINTERN VALUE
_wrap_NonCentralF_variance(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_f_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_f_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_f_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__non_central_f_distributionT_double_policies__policyT_t_t, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "boost::math::non_central_f_distribution< double,policies::policy< > > const *","variance", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_f_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_f_distribution< double,policies::policy< > >::value_type)boost_math_non_central_f_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__variance((boost::math::non_central_f_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;
}