GOffice.Distribution

g GObject.GInterface GObject.GInterface GOffice.Persist GOffice.Persist GObject.GInterface->GOffice.Persist GObject.Object GObject.Object GOffice.Distribution GOffice.Distribution GObject.Object->GOffice.Distribution GOffice.Persist->GOffice.Distribution

Subclasses:

None

Methods

Inherited:

GObject.Object (37), GOffice.Persist (2)

Structs:

GObject.ObjectClass (5)

class

new (type)

class

type_from_string (name)

class

type_to_string (type)

get_cumulative (x)

get_cumulative_hazard (x)

get_density (x)

get_distribution_name ()

get_distribution_type ()

get_hazard (x)

get_inverse_survival (x)

get_ppf (x)

get_survival (x)

scale (location, scale)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

location

float

r/w

Location

scale

float

r/w

Scale

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class GOffice.Distribution(**kwargs)
Bases:

GObject.Object, GOffice.Persist

Abstract:

Yes

classmethod new(type)
Parameters:

type (GOffice.DistributionType) –

Return type:

GOffice.Distribution

classmethod type_from_string(name)
Parameters:

name (str) –

Return type:

GOffice.DistributionType

classmethod type_to_string(type)
Parameters:

type (GOffice.DistributionType) –

Return type:

str

get_cumulative(x)
Parameters:

x (float) –

Return type:

float

get_cumulative_hazard(x)
Parameters:

x (float) –

Return type:

float

get_density(x)
Parameters:

x (float) –

Return type:

float

get_distribution_name()
Return type:

str

get_distribution_type()
Return type:

GOffice.DistributionType

get_hazard(x)
Parameters:

x (float) –

Return type:

float

get_inverse_survival(x)
Parameters:

x (float) –

Return type:

float

get_ppf(x)
Parameters:

x (float) –

Return type:

float

get_survival(x)
Parameters:

x (float) –

Return type:

float

scale(location, scale)
Parameters:

Property Details

GOffice.Distribution.props.location
Name:

location

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

Location

GOffice.Distribution.props.scale
Name:

scale

Type:

float

Default Value:

1.0

Flags:

READABLE, WRITABLE

Scale