|
is_singleton(obj)
Is string_like or not iterable. |
source code
|
|
|
is_string_like(obj)
Check if obj is string. |
source code
|
|
|
iterable(obj)
Return True if obj is iterable with a well-defined len() |
source code
|
|
|
flatten(obj,
result=None)
Return flattened version of (possibly nested) iterable obj. |
source code
|
|
|
iterable_to_string(obj,
sep='
' )
Return string obtained by concatenating the string representation
of each element of an iterable obj, with an optional internal string
separator specified. |
source code
|
|
|
is_list_of_ints(intlist)
Return True if list is a list of ints. |
source code
|
|
|
|
|
scipy_pareto_sequence(n,
exponent=1.0)
Return sample sequence of length n from a Pareto distribution. |
source code
|
|
|
scipy_powerlaw_sequence(n,
exponent=2.0)
Return sample sequence of length n from a power law distribution. |
source code
|
|
|
scipy_poisson_sequence(n,
mu=1.0)
Return sample sequence of length n from a Poisson distribution. |
source code
|
|
|
scipy_uniform_sequence(n)
Return sample sequence of length n from a uniform distribution. |
source code
|
|
|
|
|
gsl_pareto_sequence(n,
exponent=1.0,
scale=1.0,
seed=None)
Return sample sequence of length n from a Pareto distribution. |
source code
|
|
|
gsl_powerlaw_sequence(n,
exponent=2.0,
scale=1.0,
seed=None)
Return sample sequence of length n from a power law distribution. |
source code
|
|
|
gsl_poisson_sequence(n,
mu=1.0,
seed=None)
Return sample sequence of length n from a Poisson distribution. |
source code
|
|
|
gsl_uniform_sequence(n,
seed=None)
Return sample sequence of length n from a uniform distribution. |
source code
|
|
|
pareto_sequence(n,
exponent=1.0)
Return sample sequence of length n from a Pareto distribution. |
source code
|
|
|
powerlaw_sequence(n,
exponent=2.0)
Return sample sequence of length n from a power law distribution. |
source code
|
|
|
uniform_sequence(n)
Return sample sequence of length n from a uniform distribution. |
source code
|
|
|
cumulative_distribution(distribution)
Return normalized cumulative distribution from discrete distribution. |
source code
|
|
|
discrete_sequence(n,
distribution=None,
cdistribution=None)
Return sample sequence of length n from a given discrete distribution
or discrete cumulative distribution. |
source code
|
|
|
|