secant¶
- kgpy.optimization.root_finding.scalar.secant(func, root_guess=0, step_size=1, max_abs_error=1e-09, max_iterations=100)¶
- Return type:
- Parameters:
func (Callable[[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]], _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]]) –
root_guess (_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]) –
step_size (float) –
max_abs_error (float) –
max_iterations (int) –