gemseo.problems.uncertainty.ishigami.functions module
The Ishigami function and its gradient.
-
compute_gradient(x)[source]
Compute the gradient of the Ishigami function.
- Parameters:
x (RealArray) -- The input value(s),
shaped as (input_dimension,) or (n_values, input_dimension).
- Returns:
The value(s) of the gradient of the Ishigami function,
shaped as (input_dimension,) or (n_values, input_dimension).
- Return type:
RealArray
-
compute_output(x)[source]
Compute the output of the Ishigami function.
- Parameters:
x (RealArray) -- The input value(s),
shaped as (input_dimension,) or (n_values, input_dimension).
- Returns:
The output value(s),
either a float or an array shaped as (n_values,).
- Return type:
float | RealArray