GODistribution: GOffice Reference Manual

## GODistribution GODistribution |

## Functions

double | go_distribution_get_cumulative ()
long double | go_distribution_get_cumulativel ()
_Decimal64 | go_distribution_get_cumulativeD ()
double | go_distribution_get_cumulative_hazard ()
long double | go_distribution_get_cumulative_hazardl ()
_Decimal64 | go_distribution_get_cumulative_hazardD ()
double | go_distribution_get_density ()
long double | go_distribution_get_densityl ()
_Decimal64 | go_distribution_get_densityD ()
char const * | go_distribution_get_distribution_name ()
GODistributionType | go_distribution_get_distribution_type ()
double | go_distribution_get_hazard ()
long double | go_distribution_get_hazardl ()
_Decimal64 | go_distribution_get_hazardD ()
double | go_distribution_get_inverse_survival ()
long double | go_distribution_get_inverse_survivall ()
_Decimal64 | go_distribution_get_inverse_survivalD ()
double | go_distribution_get_ppf ()
long double | go_distribution_get_ppfl ()
_Decimal64 | go_distribution_get_ppfD ()
double | go_distribution_get_survival ()
long double | go_distribution_get_survivall ()
_Decimal64 | go_distribution_get_survivalD ()
GODistribution * | go_distribution_new ()
void | go_distribution_scale ()
GODistributionType | go_distribution_type_from_string ()
char const * | go_distribution_type_to_string ()

## Types and Values

| GODistribution
enum | GODistributionType

## Object Hierarchy

        GObject
        ╰── GODistribution

## Implemented Interfaces

GODistribution implements GOPersist.

## Description

## Functions

### go_distribution_get_cumulative ()

    double
    go_distribution_get_cumulative (GODistribution *dist,
                                    double x);

### go_distribution_get_cumulativel ()

    long double
    go_distribution_get_cumulativel (GODistribution *dist,
                                     long double x);

### go_distribution_get_cumulativeD ()

    _Decimal64
    go_distribution_get_cumulativeD (GODistribution *dist,
                                     _Decimal64 x);

### go_distribution_get_cumulative_hazard ()

    double
    go_distribution_get_cumulative_hazard (GODistribution *dist,
                                           double x);

### go_distribution_get_cumulative_hazardl ()

    long double
    go_distribution_get_cumulative_hazardl
                                   (GODistribution *dist,
                                    long double x);

### go_distribution_get_cumulative_hazardD ()

    _Decimal64
    go_distribution_get_cumulative_hazardD
                                   (GODistribution *dist,
                                    _Decimal64 x);

### go_distribution_get_density ()

    double
    go_distribution_get_density (GODistribution *dist,
                                 double x);

### go_distribution_get_densityl ()

    long double
    go_distribution_get_densityl (GODistribution *dist,
                                  long double x);

### go_distribution_get_densityD ()

    _Decimal64
    go_distribution_get_densityD (GODistribution *dist,
                                  _Decimal64 x);

### go_distribution_get_distribution_name ()

    char const *
    go_distribution_get_distribution_name (GODistribution *dist);

### go_distribution_get_distribution_type ()

    GODistributionType
    go_distribution_get_distribution_type (GODistribution *dist);

### go_distribution_get_hazard ()

    double
    go_distribution_get_hazard (GODistribution *dist,
                                double x);

### go_distribution_get_hazardl ()

    long double
    go_distribution_get_hazardl (GODistribution *dist,
                                 long double x);

### go_distribution_get_hazardD ()

    _Decimal64
    go_distribution_get_hazardD (GODistribution *dist,
                                 _Decimal64 x);

### go_distribution_get_inverse_survival ()

    double
    go_distribution_get_inverse_survival (GODistribution *dist,
                                          double x);

### go_distribution_get_inverse_survivall ()

    long double
    go_distribution_get_inverse_survivall (GODistribution *dist,
                                           long double x);

### go_distribution_get_inverse_survivalD ()

    _Decimal64
    go_distribution_get_inverse_survivalD (GODistribution *dist,
                                           _Decimal64 x);

### go_distribution_get_ppf ()

    double
    go_distribution_get_ppf (GODistribution *dist,
                             double x);

### go_distribution_get_ppfl ()

    long double
    go_distribution_get_ppfl (GODistribution *dist,
                              long double x);

### go_distribution_get_ppfD ()

    _Decimal64
    go_distribution_get_ppfD (GODistribution *dist,
                              _Decimal64 x);

### go_distribution_get_survival ()

    double
    go_distribution_get_survival (GODistribution *dist,
                                  double x);

### go_distribution_get_survivall ()

    long double
    go_distribution_get_survivall (GODistribution *dist,
                                   long double x);

### go_distribution_get_survivalD ()

    _Decimal64
    go_distribution_get_survivalD (GODistribution *dist,
                                   _Decimal64 x);

### go_distribution_new ()

    GODistribution *
    go_distribution_new (GODistributionType type);

### go_distribution_scale ()

    void
    go_distribution_scale (GODistribution *dist,
                           double location,
                           double scale);

### go_distribution_type_from_string ()

    GODistributionType
    go_distribution_type_from_string (char const *name);

#### Parameters

name | untranslated name of distribution |

#### Returns

type of distribution

### go_distribution_type_to_string ()

    char const *
    go_distribution_type_to_string (GODistributionType type);

#### Parameters

type | distribution type to query |

#### Returns

an untranslated name of the distribution.

## Types and Values

### GODistribution

    typedef struct _GODistribution GODistribution;

### enum GODistributionType

#### Members

GO_DISTRIBUTION_INVALID | . | [skip]
GO_DISTRIBUTION_NORMAL | Normal. |
GO_DISTRIBUTION_UNIFORM | Uniform. |
GO_DISTRIBUTION_CAUCHY | Cauchy., |
GO_DISTRIBUTION_WEIBULL | Weibull. |
GO_DISTRIBUTION_LOGNORMAL | Lognormal. |
GO_DISTRIBUTION_MAX | . | [skip]