Standard functions#

import fesslix as flx
flx.load_engine()
Random Number Generator: MT19937 - initialized with rand()=1075809385;
Random Number Generator: MT19937 - initialized with 1000 initial calls.
0

Todo

Write this section.

Mathematical functions#

Statistics#

flx.cdfn()#
Syntax:

flx.cdfn(y)

Description:

Returns the CDF of the standard Normal distribution at y.

Parameters:

y – The value at which to evaluate the CDF.

Return type:

float

Example:

flx.cdfn(-3.)
0.0013498980316300957
flx.cdfn_inv()#
Syntax:

flx.cdfn_inv(q)

Description:

Returns the inverse of the CDF of the standard Normal distribution of q.

Parameters:

q (flx_pr) – The quantile at which to evaluate the inverse of the CDF.

Return type:

float

Example:

flx.cdfn_inv(1e-6)
-4.753424308822899

Other functions#

flx.randStr()#
Syntax:

flx.randStr(N)

Description:

returns a random string of length N.

Parameters:

N (int) – Length of the string to generate. Value must be larger than zero.

Return type:

str

The random string is generated based on the following set of characters, where each character has the same probability of occurrence:

  • 0123456789

  • ABCDEFGHIJKLMNOPQRSTUVWXYZ

  • abcdefghijklmnopqrstuvwxyz

Example:

flx.randStr(10)
'EPFCRG8a8H'
flx.get_time_since_start()#
Syntax:

flx.get_time_since_start()

Description:

returns the time since start-up of the module in seconds.

Return type:

float