foxes_opt.core.zero_derivatives¶
Classes¶
Provide zero float derivatives for piecewise-constant functions. |
Module Contents¶
- class foxes_opt.core.zero_derivatives.ZeroFloatDerivatives[source]¶
Provide zero float derivatives for piecewise-constant functions.
-
ana_deriv(vars_int: numpy.ndarray, vars_float: numpy.ndarray, var: int, components: collections.abc.Sequence[int] | numpy.ndarray | None =
None) numpy.ndarray[source]¶ Calculate the analytical derivative for one float variable.
-
ana_deriv(vars_int: numpy.ndarray, vars_float: numpy.ndarray, var: int, components: collections.abc.Sequence[int] | numpy.ndarray | None =