romcomma.user.functions§

Test functions, taken from SALib

Module Attributes

ISHIGAMI

3 example Ishigami functions, requiring M >= 3.

SOBOL_G

3 example modified Sobol G-functions, requiring M >= 5.

OAKLEY2004_5

3 example modified Oakley & O'Hagan (2004) functions, requiring M >= 5.

OAKLEY2004

3 example modified Oakley & O'Hagan (2004) functions, requiring M >= 7.

ALL

The concatenation of ISHIGAMI, SOBOL_G, OAKLEY2004.

Functions

linspace(start, stop, shape)

A multi-dimensional version of np.linspace, distributing values throughout shape.

Classes

Scalar(call, loc, scale, m, **kwargs)

A scalar function scalar such that scalar(X, kwargs) calls self.call(self.loc + self.scale * X[:, :self.m], **(self.kwargs | kwargs).

Vector(name, **kwargs)

A vector functon, which is little more than a named dictionary of Scalar functions, such that vector(X, **kwargs) concatenates scalar(X, **kwargs) for each dictionary item key: Scalar.