odatse.solver.function module#
- class odatse.solver.function.Solver(info: Info)[source]#
Bases:
SolverBaseSolver class for evaluating functions with given parameters.
Initialize the solver.
- Parameters:
info (Info) – Information object containing solver configuration.
- __init__(info: Info) None[source]#
Initialize the solver.
- Parameters:
info (Info) – Information object containing solver configuration.
- evaluate(x: ndarray, args: tuple = ()) float[source]#
Evaluate the function with given parameters.
- Parameters:
x (np.ndarray) – Input array for the function.
args (tuple, optional) – Additional arguments for the function.
- Returns:
Result of the function evaluation.
- Return type:
float
- get_results() float[source]#
Get the results of the function evaluation.
- Returns:
Result of the function evaluation.
- Return type:
float