Class: GOffice::Distribution

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ GOffice::Distribution

Parameters:

Class Method Details

.type_from_string(name) ⇒ GOffice::DistributionType

Parameters:

  • name (String)

Returns:

.type_to_string(type) ⇒ String

Parameters:

Returns:

  • (String)

Instance Method Details

#distribution_nameString

Returns:

  • (String)

#distribution_typeGOffice::DistributionType

#get_cumulative(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

#get_cumulative_hazard(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

#get_cumulative_hazardl(x) ⇒ GOffice::long double

Parameters:

  • x (GOffice::long double)

Returns:

  • (GOffice::long double)

#get_cumulativel(x) ⇒ GOffice::long double

Parameters:

  • x (GOffice::long double)

Returns:

  • (GOffice::long double)

#get_density(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

#get_densityl(x) ⇒ GOffice::long double

Parameters:

  • x (GOffice::long double)

Returns:

  • (GOffice::long double)

#get_hazard(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

#get_hazardl(x) ⇒ GOffice::long double

Parameters:

  • x (GOffice::long double)

Returns:

  • (GOffice::long double)

#get_inverse_survival(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

#get_inverse_survivall(x) ⇒ GOffice::long double

Parameters:

  • x (GOffice::long double)

Returns:

  • (GOffice::long double)

#get_ppf(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

#get_ppfl(x) ⇒ GOffice::long double

Parameters:

  • x (GOffice::long double)

Returns:

  • (GOffice::long double)

#get_survival(x) ⇒ Float

Parameters:

  • x (Float)

Returns:

  • (Float)

#get_survivall(x) ⇒ GOffice::long double

Parameters:

  • x (GOffice::long double)

Returns:

  • (GOffice::long double)

#locationFloat

Returns location.

Returns:

  • (Float)

    location

#location=(location) ⇒ Float

Parameters:

  • location (Float)

Returns:

  • (Float)

    location

  • (Float)

    location

#scale(location, scale) ⇒ Float

Returns scale.

Returns:

  • (Float)

    scale

#scale=(scale) ⇒ Float

Parameters:

  • scale (Float)

Returns:

  • (Float)

    scale

  • (Float)

    scale