Class: BoostDistributions::NonCentralT

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::NonCentralT class

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ Object

call-seq:

NonCentralT.new(double v_, double lambda)

Class constructor.



30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 30961

SWIGINTERN VALUE
_wrap_new_NonCentralT(int argc, VALUE *argv, VALUE self) {
  double arg1 ;
  double arg2 ;
  double val1 ;
  int ecode1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  boost::math::non_central_t_distribution< double,policies::policy< > > *result = 0 ;
  
  if ((argc < 2) || (argc > 2)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",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_t_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_t_distribution<(double,policies::policy<()>)>", 2, argv[1] ));
  } 
  arg2 = static_cast< double >(val2);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > > *)new boost::math::non_central_t_distribution< double,policies::policy< > >(arg1,arg2);
    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_t_distribution< double,policies::policy< > >::value_type const & x,
bool const & is_complement=False) -> boost::math::non_central_t_distribution< double,policies::policy< > >::value_type
cdf(boost::math::non_central_t_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::non_central_t_distribution< double,policies::policy< > >::value_type

An instance method.



31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31212

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

#chf(*args) ⇒ Object

call-seq:

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

An instance method.



31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31485

SWIGINTERN VALUE
_wrap_NonCentralT_chf(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  boost::math::non_central_t_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_distribution< double,policies::policy< > >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","chf", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type","chf", 2, argv[0] ));
  } 
  temp2 = static_cast< boost::math::non_central_t_distribution< double,policies::policy< > >::value_type >(val2);
  arg2 = &temp2;
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__chf((boost::math::non_central_t_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_freedom(*args) ⇒ Object

call-seq:

degrees_of_freedom -> double

An instance method.



31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31005

SWIGINTERN VALUE
_wrap_NonCentralT_degrees_of_freedom(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","degrees_of_freedom", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  result = (double)((boost::math::non_central_t_distribution< double,policies::policy< > > const *)arg1)->degrees_of_freedom();
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}

#hazard(*args) ⇒ Object

call-seq:

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

An instance method.



31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31436

SWIGINTERN VALUE
_wrap_NonCentralT_hazard(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  boost::math::non_central_t_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_distribution< double,policies::policy< > >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","hazard", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type","hazard", 2, argv[0] ));
  } 
  temp2 = static_cast< boost::math::non_central_t_distribution< double,policies::policy< > >::value_type >(val2);
  arg2 = &temp2;
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__hazard((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31768

SWIGINTERN VALUE
_wrap_NonCentralT_kurtosis(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","kurtosis", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__kurtosis((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31807

SWIGINTERN VALUE
_wrap_NonCentralT_kurtosis_excess(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","kurtosis_excess", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__kurtosis_excess((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31534

SWIGINTERN VALUE
_wrap_NonCentralT_mean(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","mean", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__mean((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31573

SWIGINTERN VALUE
_wrap_NonCentralT_median(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","median", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__median((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31612

SWIGINTERN VALUE
_wrap_NonCentralT_mode(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","mode", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__mode((boost::math::non_central_t_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.



31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31038

SWIGINTERN VALUE
_wrap_NonCentralT_non_centrality(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","non_centrality", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  result = (double)((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type const & x) -> boost::math::non_central_t_distribution< double,policies::policy< > >::value_type

An instance method.



31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31071

SWIGINTERN VALUE
_wrap_NonCentralT_pdf(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  boost::math::non_central_t_distribution< double,policies::policy< > >::value_type *arg2 = 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_distribution< double,policies::policy< > >::value_type temp2 ;
  double val2 ;
  int ecode2 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","pdf", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type","pdf", 2, argv[0] ));
  } 
  temp2 = static_cast< boost::math::non_central_t_distribution< double,policies::policy< > >::value_type >(val2);
  arg2 = &temp2;
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__pdf((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type const & p,
bool const & is_complement=False) -> boost::math::non_central_t_distribution< double,policies::policy< > >::value_type
quantile(boost::math::non_central_t_distribution< double,policies::policy< > >::value_type const & p) -> boost::math::non_central_t_distribution< double,policies::policy< > >::value_type

An instance method.



31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31370

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

#range(*args) ⇒ Object

call-seq:

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

An instance method.



31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31846

SWIGINTERN VALUE
_wrap_NonCentralT_range(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::pair< boost::math::non_central_t_distribution< double,policies::policy< > >::value_type,boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","range", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__range((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31729

SWIGINTERN VALUE
_wrap_NonCentralT_skewness(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","skewness", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__skewness((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31651

SWIGINTERN VALUE
_wrap_NonCentralT_standard_deviation(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","standard_deviation", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__standard_deviation((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type,boost::math::non_central_t_distribution< double,policies::policy< > >::value_type >

An instance method.



31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31888

SWIGINTERN VALUE
_wrap_NonCentralT_support(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  std::pair< boost::math::non_central_t_distribution< double,policies::policy< > >::value_type,boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","support", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__support((boost::math::non_central_t_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_t_distribution< double,policies::policy< > >::value_type

An instance method.



31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
# File 'ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx', line 31690

SWIGINTERN VALUE
_wrap_NonCentralT_variance(int argc, VALUE *argv, VALUE self) {
  boost::math::non_central_t_distribution< double,policies::policy< > > *arg1 = (boost::math::non_central_t_distribution< double,policies::policy< > > *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  boost::math::non_central_t_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_t_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_t_distribution< double,policies::policy< > > const *","variance", 1, self )); 
  }
  arg1 = reinterpret_cast< boost::math::non_central_t_distribution< double,policies::policy< > > * >(argp1);
  try {
    result = (boost::math::non_central_t_distribution< double,policies::policy< > >::value_type)boost_math_non_central_t_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__variance((boost::math::non_central_t_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;
}