AskData

class AskData(x_fun=None, x_jac=None)[source]

Bases: ABC

Base class for return type of ask().

Parameters:
  • x_fun (float | ndarray | list[float | ndarray] | None) – Point or list of points where the function needs to be evaluated to compute the next

  • optimizer. (the next state of the)

  • x_jac (float | ndarray | list[float | ndarray] | None) – Point or list of points where the gradient/jacobian needs to be evaluated to compute

  • optimizer.

Attributes

x_fun: float | ndarray | list[float | ndarray] | None = None
x_jac: float | ndarray | list[float | ndarray] | None = None

Methods